Description
Add sub menu page to the Settings menu.
Usage
<?php
add_options_page( $page_title, $menu_title, $capability, $menu_slug, $function);
?>
Parameters
$page_title
(string) (required) The text to be displayed in the title tags of the page when the menu is selected
Default: None
$menu_title
(string) (required) The text to be used for the menu
Default: None
$capability
(string) (required) The capability required for this menu to be displayed to the user.
Default: None
$menu_slug
(string) (required) The slug name to refer to this menu by (should be unique for this menu).
Default: None
$function
(callback) (optional) The function to be called to output the content for this page.
Default: ' '
Return Values
string
The resulting page's hook_suffix (What add_submenu_page() returns)