add_plugins_page Wordpress function


Add sub menu page to the plugins main menu.



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

Return Type:

(string|bool) The resulting page's hook_suffix, or false if the user does not have the capability required.

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 ×