How to Add Custom Post Status in WordPress

Prem Tiwari - - WordPress, WordPress Beginners, WordPress Snippets

If you want to add a custom post status in the post edit screen and page edit screen. It will also add on the quick edit option for post & page listing page.

This is a very simple & easy code to add custom post status & page status.

How to Add Custom Post Status in WordPress

How to Add Custom Post Status in WordPress

Copy the below code and add it to the end of the functions.php file to set the custom post status. In the below code, we are going to create a custom post status as “Archived”.

Read more

Over to You

Hope this tutorial help you. Please do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials.

About: Prem Tiwari

Prem Tiwari is the founder of and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.

Tags: , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.