Function Arguments Return Description Version Path

add_comments_page

(string) $page_title
(string) $menu_title
(string) $capability
(string) $menu_slug
(callback) $function = ''
(string|boolean) The resulting page's hook_suffix, or false if the user does not have the capability required.

Add sub menu page to the comments main menu.

wp-admin / includes / plugin.php

add_contextual_help

(string) $screen
(string) $help
(void)

Add contextual help text for a page.

2.7 wp-admin / includes / deprecated.php

add_dashboard_page

(string) $page_title
(string) $menu_title
(string) $capability
(string) $menu_slug
(callback) $function = ''
(string|boolean) The resulting page's hook_suffix, or false if the user does not have the capability required.

Add sub menu page to the Dashboard main menu.

wp-admin / includes / plugin.php

add_links_page

(string) $page_title
(string) $menu_title
(string) $capability
(string) $menu_slug
(callback) $function = ''
(string|boolean) The resulting page's hook_suffix, or false if the user does not have the capability required.

Add sub menu page to the links main menu.

wp-admin / includes / plugin.php

add_management_page

(string) $page_title
(string) $menu_title
(string) $capability
(string) $menu_slug
(callback) $function = ''
(string|boolean) The resulting page's hook_suffix, or false if the user does not have the capability required.

Add sub menu page to the tools main menu.

wp-admin / includes / plugin.php

add_media_page

(string) $page_title
(string) $menu_title
(string) $capability
(string) $menu_slug
(callback) $function = ''
(string|boolean) The resulting page's hook_suffix, or false if the user does not have the capability required.

Add sub menu page to the media main menu.

wp-admin / includes / plugin.php

add_menu_page

(string) $page_title
(string) $menu_title
(string) $capability
(string) $menu_slug
(callback) $function = ''
(string) $icon_url = ''
(int) $position = null
(string) The resulting page's hook_suffix

Add a top level menu page

wp-admin / includes / plugin.php

add_object_page

(string) $page_title
(string) $menu_title
(string) $capability
(string) $menu_slug
(callback) $function = ''
(string) $icon_url = ''
(string) The resulting page's hook_suffix

Add a top level menu page in the ‘objects’ section

wp-admin / includes / plugin.php

add_options_page

(string) $page_title
(string) $menu_title
(string) $capability
(string) $menu_slug
(callback) $function = ''
(string|boolean) The resulting page's hook_suffix, or false if the user does not have the capability required.

Add sub menu page to the options main menu.

wp-admin / includes / plugin.php

add_pages_page

(string) $page_title
(string) $menu_title
(string) $capability
(string) $menu_slug
(callback) $function = ''
(string|boolean) The resulting page's hook_suffix, or false if the user does not have the capability required.

Add sub menu page to the pages main menu.

wp-admin / includes / plugin.php