Docs: Add a more complete `$labels` parameter description to the DocBlock for `register_post_type()`.

Directly references `get_post_type_labels()` for the full list of supported labels.

See #32246.

Built from https://develop.svn.wordpress.org/trunk@37885


git-svn-id: http://core.svn.wordpress.org/trunk@37826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2016-06-28 06:42:28 +00:00
parent 112992ba80
commit 538eb01e6f
2 changed files with 3 additions and 2 deletions

View File

@ -914,7 +914,8 @@ function get_post_types( $args = array(), $output = 'names', $operator = 'and' )
* Default is value of $labels['name'].
* @type array $labels An array of labels for this post type. If not set, post
* labels are inherited for non-hierarchical types and page
* labels for hierarchical ones. get_post_type_labels().
* labels for hierarchical ones. See get_post_type_labels() for a full
* list of supported labels.
* @type string $description A short descriptive summary of what the post type is.
* Default empty.
* @type bool $public Whether a post type is intended for use publicly either via

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.6-alpha-37884';
$wp_version = '4.6-alpha-37885';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.