Home › Forums › Backend Issues (wp-admin) › Detecting what has just been saved when using save_post action › Reply To: Detecting what has just been saved when using save_post action
Hi John thanks for the info. I’m just going to do
function my_acf_save_post( $post_id ) {
if ($post_id=="options"){
// my stuff to do...
}
}
and then go from there to keep it simple. I didn’t know about the post id appearing as options and I can confirm it’s plural, with the s. Cheers!
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.