Support

Account

Home Forums ACF PRO Meta query doesn't work after update_field until manual update in admin Reply To: Meta query doesn't work after update_field until manual update in admin

  • Heureka! Your suggestion got me on the right track, it was the date field formatting that was the issue. My date field that was setting the $transaction_date was setup to return Y-m-d, but when setting a date field with update_field it must be in Ymd format. So a simple conversion before update_field did the trick!

    Thanks @hube2 for leading me on the right track! 🙂