Home › Forums › ACF PRO › post_title issue remains after 5.4.2 AJAX loading acf_form › Reply To: post_title issue remains after 5.4.2 AJAX loading acf_form
I did some more looking and I think this has something to do with acf_form_head(). The field _post_title is defined in acf_form_head(), or at least the function that calls them is called by acf_form_head(). This is what I was looking for because of the fact that all the attributes are empty let me to believe that the field was not properly defined. Try calling
_acf_form_register_fields() at the start of your ajax function before you call
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’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.