Support

Account

Home Forums ACF PRO problem to configure advanced custom field Reply To: problem to configure advanced custom field

  • You need to set the ‘new_post’ argument for acf_form(), not ‘post_type’ and ‘post_status’. The value of this argument is an array of values.

    
    ....
    'new_post' => array(
      'post_type' => 'recette',
      'post_statues' => 'draft'
    ),
    ......