Home › Forums › Backend Issues (wp-admin) › Setting correct priority on publish_post action › Reply To: Setting correct priority on publish_post action
Hi @davisshaver
I believe that the publish action is run before the save action. ACF uses teh save action, so I don’t think any priority number will get your code to run after acf. Instead, you should use the save_post action.
Better than that, you should use the acf/save_post action.
You can read more about this here:
http://www.advancedcustomfields.com/resources/actions/acfsave_post/
Thanks
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.