Home › Forums › ACF PRO › Update value function causes timeout › Reply To: Update value function causes timeout
Not sure if it will fix it but I noticed that your remove_action call doesn’t specify the priority of the function. From the codex ( https://codex.wordpress.org/Function_Reference/remove_action ):
Important: To remove a hook, the $function_to_remove and $priority arguments must match when the hook was added. This goes for both filters and actions. No warning will be given on removal failure.
In other words try
remove_action( 'acf/save_post', 'my_post_updater', 20 );
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.