Home › Forums › General Issues › Hook/Filter to edit the timestamp after user has selected a date and time › Reply To: Hook/Filter to edit the timestamp after user has selected a date and time
Hi @ch1n3s3b0y
You’ve done some great testing!
I can’t say why update_field would not work for you.. the parameters looks correct to me.
However instead of a custom $wpdb update you can try using WP cores update_post_meta()
function. It will essentially do the same thing as update_field()
.
https://codex.wordpress.org/Function_Reference/update_post_meta
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.