Support

Account

Home Forums Front-end Issues Prevent acf_form_head Being Added Twice Reply To: Prevent acf_form_head Being Added Twice

  • Sweet, thanks for clarifying, John. That’s what I’m using. There’s a typo in your solution above (for the benefit of anyone finding and hoping this) in the form of an extra closing parentheses. Should be…

    
    if( ! is_admin() && did_action( 'acf/submit_form' ) == 0 ) {
      acf_form_head();
    }