Changeset 35885 for trunk/src/wp-admin/includes/plugin.php
- Timestamp:
- 12/12/2015 03:36:36 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r35874 r35885 1351 1351 * @param callable $function The function to be called to output the content for this page. 1352 1352 * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability required. 1353 */1353 */ 1354 1354 function add_pages_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { 1355 1355 return add_submenu_page( 'edit.php?post_type=page', $page_title, $menu_title, $capability, $menu_slug, $function ); … … 1371 1371 * @param callable $function The function to be called to output the content for this page. 1372 1372 * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability required. 1373 */1373 */ 1374 1374 function add_comments_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { 1375 1375 return add_submenu_page( 'edit-comments.php', $page_title, $menu_title, $capability, $menu_slug, $function );
Note: See TracChangeset
for help on using the changeset viewer.