Settings_Page implements Service, Registerable, Conditional

Plugin settings page.

Interfaces, Classes and Traits

Service
Registerable
Conditional

Table of Contents

$license  : License
License handler.
$plugin  : Licensed_Plugin
Plugin handling the page.
$plugin_promo  : Plugin_Promo
Plugin promo.
$registered_settings  : array<string|int, mixed>
List of settings.
__construct()  : mixed
Constructor.
add_settings_page()  : mixed
Register the Settings submenu page.
assets()  : void
Enqueue assets for the settings page.
is_required()  : mixed
{@inheritdoc}
register()  : mixed
{@inheritdoc}
render_settings_page()  : mixed
Render the Settings page.
support_links()  : mixed
Output the Barn2 Support Links.
get_settings_tabs()  : array<string|int, mixed>
Retrieves the settings tab classes.
register_settings_tabs()  : mixed
Register the settings tab classes.

Properties

$plugin

Plugin handling the page.

public Licensed_Plugin $plugin

$plugin_promo

Plugin promo.

public Plugin_Promo $plugin_promo = null

$registered_settings

List of settings.

public array<string|int, mixed> $registered_settings = []

Methods

__construct()

Constructor.

public __construct(Licensed_Plugin $plugin) : mixed
Parameters
$plugin : Licensed_Plugin
Return values
mixed

add_settings_page()

Register the Settings submenu page.

public add_settings_page() : mixed
Return values
mixed

assets()

Enqueue assets for the settings page.

public assets() : void
Return values
void

is_required()

{@inheritdoc}

public is_required() : mixed
Return values
mixed

register()

{@inheritdoc}

public register() : mixed
Return values
mixed

render_settings_page()

Render the Settings page.

public render_settings_page() : mixed
Return values
mixed

Output the Barn2 Support Links.

public support_links() : mixed
Return values
mixed

get_settings_tabs()

Retrieves the settings tab classes.

private get_settings_tabs() : array<string|int, mixed>
Return values
array<string|int, mixed>

register_settings_tabs()

Register the settings tab classes.

private register_settings_tabs() : mixed
Return values
mixed

Search results