en

wpseek.com
A WordPress-centric search engine for devs and theme authors


  |     Browse all


get_post_type [ WordPress Function ]

get_post_type ( $the_post = false )
Parameters:
  • mixed $the_post Optional. Post object or post ID.
Uses:
  • $post
Returns:
  • bool|string post type or false on failure.
Defined at:



Retrieve the post type of the current post or of a given post.

Examples [ wp-snippets.com ]

Top Google Search Results

More ...

0 User Note(s)

None yet. Be the first!

Add New ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics