mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 15:47:38 +02:00
phpdoc for all_items and menu_name. Props ocean90. fixes #18036
git-svn-id: http://svn.automattic.com/wordpress/trunk@18472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
05b3172a32
commit
496081f898
@ -1165,6 +1165,8 @@ function _post_type_meta_capabilities( $capabilities = null ) {
|
||||
* - not_found - Default is No posts found/No pages found
|
||||
* - not_found_in_trash - Default is No posts found in Trash/No pages found in Trash
|
||||
* - parent_item_colon - This string isn't used on non-hierarchical types. In hierarchical ones the default is Parent Page:
|
||||
* - all_items - String for the submenu. Default is All Posts/All Pages
|
||||
* - menu_name - Default is the same as <code>name</code>
|
||||
*
|
||||
* Above, the first default value is for non-hierarchical post types (like posts) and the second one is for hierarchical post types (like pages).
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user