add_utility_page Wordpress function


Description:

Add a top level menu page in the 'utility' section


Syntax:


Arguments:

(string) $page_title The text to be displayed in the title tags of the page when the menu is selected
(string) $menu_title The text to be used for the menu
(string) $capability The capability required for this menu to be displayed to the user.
(string) $menu_slug The slug name to refer to this menu by (should be unique for this menu)
(callback) $function The function to be called to output the content for this page.
(string) $icon_url The url to the icon to be used for this menu


Return Type:

(string) The resulting page's hook_suffix


Define At:

wp-admin/includes/plugin.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/add_utility_page


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×