This uses the acf/save_post event to pass post data to the post_actions method that the plugin uses for admin saves. It should allow ACF forms to send front end data to Salesforce.
How do I test this Pull Request?
Create and edit a post, and a custom post type record, on the front end using whatever functionality ACF uses. Make sure it goes to Salesforce as expected.
Create and edit a post, and a custom post type record, with normal WordPress functionality on the admin side. Make sure nothing weird happens. Probably should test this both with and without the presence of ACF, just to be sure.
What does this Pull Request do?
This uses the
acf/save_post
event to pass post data to thepost_actions
method that the plugin uses for admin saves. It should allow ACF forms to send front end data to Salesforce.How do I test this Pull Request?