Answers for "move post to draft php wordpress"

PHP
0

move post to draft php wordpress

$post = array( 'ID' => $post_id, 'post_status' => $status );
wp_update_post($post);
Posted by: Guest on April-01-2020

Code answers related to "move post to draft php wordpress"

Browse Popular Code Answers by Language