Title: how to make array for post status
Last modified: August 30, 2016

---

# how to make array for post status

 *  Resolved [peter azer](https://wordpress.org/support/users/peter-azer/)
 * (@peter-azer)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/how-to-make-array-for-post-status/)
 * 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)

 *  Thread Starter [peter azer](https://wordpress.org/support/users/peter-azer/)
 * (@peter-azer)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/how-to-make-array-for-post-status/#post-6535724)
 * yeah, I solve it by custom post type ui plugin

Viewing 1 replies (of 1 total)

The topic ‘how to make array for post status’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [peter azer](https://wordpress.org/support/users/peter-azer/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/how-to-make-array-for-post-status/#post-6535724)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
