get_post_type_object Wordpress function


Description:

Retrieve a post type object by name


Syntax:


Arguments:

(string) $post_type The name of a registered post type


Return Type:

(object) A post type object


Define At:

wp-includes/post.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_post_type_object


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×