Support

Account

Home Forums ACF PRO acf_add_local_field saving but not displaying in post Reply To: acf_add_local_field saving but not displaying in post

  • Hi @iamhexcoder

    I believe I’ve answered your question here: https://support.advancedcustomfields.com/forums/topic/acf_add_local_field-not-updating-on-save-when-auto-adding-fields/#post-41389. The problem is that the $_GET['post'] and $_POST['post_ID'] variables are not available on the front end. Also, the global $post variable is not available on acf/init hook, so you need to hook it to wp for the front end.

    I hope this helps πŸ™‚