add_utility_page Wordpress function


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



(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:


Wordpress Reference URL:

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