Class Fieldmanager_Context_Submenu
Use fieldmanager to create arbitrary pages in the WordPress admin and save data primarily to options.
- Fieldmanager_Context
- Fieldmanager_Context_Storable
- Fieldmanager_Context_Submenu
Methods summary
public
|
#
__construct( string $parent_slug, string $page_title, string $menu_title = Null, string $capability = 'manage_options', string $menu_slug = Null,
Create a submenu page out of a field |
public
|
|
public
void.
|
#
render_submenu_page( )
Helper to attach element_markup() to add_meta_box(). Prints markup for options page. |
public
|
|
public
|
|
public
string
|
Magic methods summary
Properties summary
public
string
|
$parent_slug |
#
Parent of this submenu page |
public
string
|
$page_title |
#
Title of the page |
public
string
|
$menu_title |
#
Menu title |
public
string
|
$capability |
#
Capability required |
public
string
|
$menu_slug |
#
Menu slug |
public
string|Null
|
$submit_button_label |
#
Only used for options pages |
public
string|null
|
$updated_message |
#
The "success" message displayed after options are saved. Defaults to "Options updated". |
public
string
|
$wp_option_autoload |
#
For submenu pages, set autoload to true or false |