• Hello! I am using the ACF plugin and am hooking into the “acf/save_post” action to intercept the post id and send the information to an API to sync the data to. However, if I get back a fail from the API for whatever reason (duplicate ID, etc) I want to prevent WP from publishing the post. Has anyone had experience with anything like this before? TIA

The topic ‘Preventing Post Publish Conditional’ is closed to new replies.