Method | Description | |
---|---|---|
__construct ( Mlp_Network_Site_Settings_Properties $config, Mlp_Updatable $watcher ) | Constructor. | |
reorder_output ( string $content ) : string | Changes the page content, adds navigation tab. | |
start_buffer ( ) : void | Starts output buffering and call "render_callback". |
Method | Description | |
---|---|---|
get_heading_level ( ) : string | Returns the heading level wrt. the current WordPress version. | |
get_nav_link ( ) : string | Creates the HTML for the navigation link. | |
is_active_page ( ) : boolean | Checks if the global pagenow matches the tab identifier. | |
set_pagenow ( ) : void | Changes the global pagenow to prevent wrong classes on the tab navigation. |
public __construct ( Mlp_Network_Site_Settings_Properties $config, Mlp_Updatable $watcher ) | ||
$config | Mlp_Network_Site_Settings_Properties | |
$watcher | Mlp_Updatable |
public reorder_output ( string $content ) : string | ||
$content | string | Complete content of the page 'wp-admin/network/site-settings.php'. |
return | string |
public start_buffer ( ) : void | ||
return | void |