• Resolved peter azer

    (@peter-azer)


    Hi, im using advanced custom post pro for user guest post and all works fine.. but in admin post screen the post submitted been draft its ok, but when I click to publish not publishing or when I click trash not trashed is still on draft.. I need to fix post status there is my code:

    acf_form(array(
    ‘post_id’ => ‘new_post’,
    ‘submit_value’ =>’send’,
    ‘field_groups’ => array( 423 ),
    ‘new_post’ => array(
    ‘post_type’ => ‘post’,
    ‘post_status’ => ‘draft’, ‘publish’, ‘trash’
    )

    ));
    I hope to help me, my project depends on it
    best regards..
    thank you for help

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘how to make array for post status’ is closed to new replies.