gdtt_get_current_post_type

gdtt_get_current_post_type()
Return object of the current post type for the single post / custom post type page or post type archive. If the query is not yet set, or page is not archive for post type or single post, it will return null.

Comments

Leave a Reply