06 March 2012 ~ 0 Comments

How to Get Post Type in the Admin Area

I was busy writing a plugin today and was needing to know which post type I was dealing with in the WordPress admin. I must have done this a dozen times before and I seem to write it slightly differently every time…

Related Articles:

Rate This Article -->

GD Star Rating
loading...

LatestWP Score for this Article:

83%

With this quick snippet of code, you will learn how to tell which custom post type a post is.

...[Visit Original Article]

Leave a Reply