add_plugins_page Wordpress function


Description:

Add sub menu page to the plugins main menu.


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.


Return Type:

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


Define At:

wp-admin/includes/plugin.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/add_plugins_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 ×