PHP Class Admin_Apple_Settings, apple-news

Inheritance: extends Apple_News
ファイルを表示 Open project: alleyinteractive/apple-news Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor.
fetch_settings ( ) Creates a new \Apple_Exporter\Settings instance and loads it with WordPress' saved settings.
page_options_render ( ) Options page render.
register_assets ( string $hook ) Register assets for the options page.
register_sections ( ) Load exporter settings and register them.
setup_options_page ( ) Options page setup.

Private Methods

Method Description
add_section ( $section ) Add a settings section.
add_sections ( ) Add settings sections.

Method Details

__construct() public method

Constructor.
public __construct ( )

fetch_settings() public method

Creates a new \Apple_Exporter\Settings instance and loads it with WordPress' saved settings.
public fetch_settings ( )

page_options_render() public method

Options page render.
public page_options_render ( )

register_assets() public method

Register assets for the options page.
public register_assets ( string $hook )
$hook string

register_sections() public method

Load exporter settings and register them.
Since: 0.4.0
public register_sections ( )

setup_options_page() public method

Options page setup.
public setup_options_page ( )