Settings implements Service, Registerable, Conditional

This class handles our plugin settings page in the admin.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Service
Registerable
Conditional

Table of Contents

MENU_SLUG  = 'document_library_pro'
$license  : mixed
$plugin  : mixed
$registered_settings  : mixed
__construct()  : mixed
Constructor.
add_settings_page()  : mixed
Register the Settings submenu page.
is_required()  : mixed
{@inheritdoc}
register()  : mixed
{@inheritdoc}
render_settings_page()  : mixed
Render the Settings page.
get_settings_tabs()  : array<string|int, mixed>
Retrieves the settings tab classes.
register_settings_tabs()  : mixed
Register the settings tab classes.

Constants

MENU_SLUG

public mixed MENU_SLUG = 'document_library_pro'
Tags

Properties

$registered_settings

private 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

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() : mixed
Tags
Return values
mixed

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() : mixed
Tags
Return values
mixed

Search results