move post to draft php wordpress

Certainly.

  1. Open the WordPress admin dashboard.
  2. Navigate to the "Posts" section.
  3. Locate the post you want to move to draft.
  4. Click on the post title to open the post editor.
  5. In the top right corner, find the "Status" option.
  6. Click on the "Edit" link next to the status.
  7. From the drop-down menu, select "Draft."
  8. Save the changes by clicking the "Update" button.
  9. The post is now moved to draft status and will not be visible on the website.

Note: Ensure that you have the necessary user permissions to edit and change the status of posts.