General implements Registerable

Registers the general settings tab.

Tags
author

Barn2 Plugins info@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

codeCoverageIgnore

Interfaces, Classes and Traits

Registerable

Table of Contents

MENU_SLUG  = 'wdm_options'
OPTION_GROUP  = 'wc_discount_manager_settings'
TAB_ID  = 'general'
$plugin  : Licensed_Plugin
$title  : mixed
__construct()  : mixed
Get things started.
get_title()  : string
Get the tab title.
register()  : void
Register hooks.

Constants

MENU_SLUG

public mixed MENU_SLUG = 'wdm_options'

OPTION_GROUP

public mixed OPTION_GROUP = 'wc_discount_manager_settings'

TAB_ID

public mixed TAB_ID = 'general'

Properties

$plugin

private Licensed_Plugin $plugin

Methods

__construct()

Get things started.

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

get_title()

Get the tab title.

public get_title() : string
Return values
string

register()

Register hooks.

public register() : void
Return values
void

Search results