add_utility_page [ WordPress Function ]
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
Add a top level menu page in the 'utility' section
This function takes a capability which will be used to determine whether or not a page is included in the menu.
The function which is hooked in to handle the output of the page must check that the user has the required capability as well.
Source
<?php
function add_utility_page( $page_title, $menu_title, $capability, $menu_slug, $function = '', $icon_url = '') {
global $_wp_last_utility_menu;
$_wp_last_utility_menu++;
return add_menu_page($page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $_wp_last_utility_menu);
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/add utility page « WordPress Codex
Description. Add a top level menu page at the 'utility' level. This new menu will appear in the group including the default WordPress Appearance, Plugins, Users , ...
codex.wordpress.org - add_utility_page (WordPress Function) - WPSeek.com
WordPress lookup for add_utility_page, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com - add_utility_page | A HitchHackers guide through WordPress
Feb 11, 2011 ... function add_utility_page( $page_title, $menu_title, $capability, $menu_slug, $ function = '', $icon_url = '') {}. Add a top level menu page in the ...
hitchhackerguide.com - add_utility_page() WordPress function reference, arguments and ...
add_utility_page(). Add a top level menu page in the 'utility' section. This function takes a capability which will be used to determine whether or not a page is ...
queryposts.com