Settings_Page implements Standard_Service, Registerable, Conditional

The settings page.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Standard_Service
Registerable
Conditional

Table of Contents

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

Properties

$plugin

Plugin handling the page.

public Licensed_Plugin $plugin
Tags

$registered_settings

List of settings.

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

Methods

__construct()

Constructor.

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

add_settings_page()

Register the Settings submenu page.

public add_settings_page() : mixed
Tags
Return values
mixed

enqueue_assets()

Enqueue reg for the settings page.

public enqueue_assets() : void
Tags
Return values
void

is_required()

{@inheritdoc}

public is_required() : mixed
Tags
Return values
mixed

register()

{@inheritdoc}

public register() : mixed
Tags
Return values
mixed

render_settings_page()

Render the Settings page.

public render_settings_page() : void
Tags
Return values
void

Output the Barn2 Support Links.

public support_links() : void
Tags
Return values
void

get_settings_tabs()

Retrieves the settings tab classes.

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

register_settings_tabs()

Register the settings tab classes.

private register_settings_tabs() : void
Tags
Return values
void

Search results