Home › Forums › Bug Reports › ACF PRO: Possible bug in acf/save_post › Reply To: ACF PRO: Possible bug in acf/save_post
Hello Elliot
The suggested validate logic is not solving the issue for me unfortunately. Any chance of bringing back the save_post logic or any specific reason you’ve removed it? I was generating a stylesheet upon Options Save with the following code:
function generate_stylesheet() {
// Generate stylesheet
}
// After theme options save
add_action('acf/save_post', 'generate_stylesheet', 20);
.. so it was dependent on the action to run AFTER the Save as all the new values needs to be fully saved in db before it triggers the stylesheet creation.
If acf/save_post after action is gone forever, what would be your recommendation for a comparable solution in my case?
Thanks!
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.