Hey Guys,
I have a website where I am having a bit of an issue trying to get one part of it to work. I am using Advanced Custom Fields to take a range of data that I need to be sent on Publish to Mailpoet and Social Network Auto Poster.
Currently both MP and SNAP only send the_content data and not any ACF data. I have tried to filter the_content and adding in the ACF data that way. It will show on the single post but it is not sent via MP or SNAP. I am guessing this is because the data is sent before it is saved to the database.
I am thinking that the correct add_action() with $_POST will do the trick as long as the priority is set to 0 but I am unsure as I have not successfully managed to get this working.
MailPoet stated that this can be achieved with a shortcode.
Things to know:
* The only data that is needed to be sent is the ACF data
* The ACF data is saved as a template part which can be called in via get_template_part
Please only respond if you know how to fix this issue!