Support

Account

Home Forums General Issues Organize fields in acf_form() Reply To: Organize fields in acf_form()

  • Use the acf/render_field hook https://www.advancedcustomfields.com/resources/acf-render_field/

    
    add_action('acf/render_field/key=field_573d84b07da66', 'add_address_heading', 1, 1);
    function add_address_heading($field) {
      if (is_admin()) {
        // only on the front end
        return;
      }
      ?><h2>Address</h2><?php 
    }