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.


git-svn-id: https://develop.svn.wordpress.org/trunk@37885 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2016-06-28 06:41:23 +00:00
parent d150e9e54f
commit 730d562648
1 changed files with 2 additions and 1 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