How to display only published posts by default in the admin area?

How to display only published posts by default in the admin area?

If you are a WordPress developer or WordPress website owner? and looking for a way to display only published posts by default in the admin area then you are in the right place. Here I will explain every step to get the solution.

Currently, WordPress displays all pages/posts in the admin area’s list by default, regardless of whether they are published or not.

Let’s assume, I have a lot of drafts, but I’m usually more interested in editing the published pages/posts, so only to display them requires a another click and a full reload.

Is it possible to set WordPress to show only published posts and pages by default?

I’m not sure if there’s a better way, but tweaking with the global variable $submenu should probably be sufficient.

To display published article by default on post link, simply paste this code snippet in your functions.php. You can then visit “All” tab to see full list of published posts.

Are you want to get implementation help, or modify or extend the functionality of this script?

A Tutorialswebsite Expert can do it for you.

Display only published posts by default?

Now click on Posts -> All Posts in admin left Menu bar. You will get published posts list by default.

Show only published posts by default

Display only published page by default?

Display only published post for Custom Post Type by default?

Also Read: Easy Way to Add Custom Fields into WooCommerce Checkout Page

Conclusion

Well, In this article you will get the complete steps to display only published posts by default in the admin area. You can extend the functionality as per your requirement. I hope you found this tutorial helpful for your project. Keep learning!.

Related posts