register_post_type Wordpress function


Description:

Register a post type. Do not use before init.


Syntax:


Arguments:

(string) $post_type Post type key, must not exceed 20 characters
(array|string) $args See optional args description above.


Return Type:

(object|WP_Error) the registered post type object, or an error object


Define At:

wp-includes/post.php


Wordpress Reference URL:

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


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