Home › Forums › ACF PRO › Change another field based on Date › Reply To: Change another field based on Date
Hi @huwrowlands
Could you please tell me where do you put that code? If you put it in single.php file, then that code will only get executed when someone is visiting the post. If you need the current status on other pages, I believe it will show the old status as it’s not updated yet. But if you only show the status on the post page, then I think it’s OK.
I hope this makes sense 🙂
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.