post_type_exists Wordpress function


Description:

Checks if a post type is registered.


Syntax:


Arguments:

(string) $post_type Post type name


Return Type:

(bool) Whether post type is registered.


Define At:

wp-includes/post.php


Wordpress Reference URL:

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


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