PHP Class Admin_Apple_Settings, apple-news

Inheritance: extends Apple_News
Afficher le fichier Open project: alleyinteractive/apple-news Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
add_section ( $section ) Add a settings section.
add_sections ( ) Add settings sections.

Method Details

__construct() public méthode

Constructor.
public __construct ( )

fetch_settings() public méthode

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

page_options_render() public méthode

Options page render.
public page_options_render ( )

register_assets() public méthode

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

register_sections() public méthode

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

setup_options_page() public méthode

Options page setup.
public setup_options_page ( )