KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
how can I choose post ID, when inserting new post, ex: $post = array( 'ID' => 3333, 'comment_status' => 'open', 'post_content' => 'hi world!', 'post_name' => 'title_1', 'post_status' => 'publish', 'post_title' => 'sdfsfd fdsfds ds', 'post_type' => 'post', ); $post_id = wp_insert_post($post); want to insert new post with id = 3333
Tags (comma-separated)
Save Edits
Cancel