Get all the registered Post Types in WordPress

How to Get all the registered Post Types in WordPress. This is a small piece of code to retrieve all registered post types in WordPress. When ever if you want to know what are the post types registered in WordPress. Just add this code to any theme files.

Add this code to header.php or footer.php in Theme files.


Get Free Email Updates!

Signup now and receive an email once I publish new content.

I will never give away, trade or sell your email address. You can unsubscribe at any time.


VIVEK is a Online Entrepreneur, Web Developer, lives in Hyderabad India.

Posted in WordPress

Leave a Reply

Latest Updates

Get Latest updates through email


Please support the site
By clicking any of these buttons you help our site to get better
Social PopUP by SumoMe