Documentation

Admin
in package

Table of Contents

Properties

$hook_suffix  : mixed
$assets_url  : mixed
$dir  : mixed
$instance  : mixed
$script_suffix  : mixed
$token  : mixed
$version  : mixed

Methods

__construct()  : mixed
Admin constructor.
add_menu()  : mixed
Add Admin Menu
admin_body_class()  : string
Add custom classes to the HTML body tag
admin_enqueue_scripts()  : void
Load admin Javascript.
admin_enqueue_styles()  : void
Load admin CSS.
adminInit()  : mixed
Method that is used on plugin initialization time
instance()  : Main
Ensures only one instance of Class is loaded or can be loaded.
plugin_action_links()  : array<string|int, mixed>
Show action links on the plugin screen.
settings_UI()  : mixed

Properties

$hook_suffix

protected mixed $hook_suffix = []

$assets_url

private mixed $assets_url

$instance

private static mixed $instance = null

$script_suffix

private mixed $script_suffix

$version

private mixed $version

Methods

__construct()

Admin constructor.

public __construct() : mixed
Tags
since
1.0.0

add_menu()

Add Admin Menu

public add_menu() : mixed

admin_body_class()

Add custom classes to the HTML body tag

public admin_body_class(string $classes) : string
Parameters
$classes : string
Return values
string

admin_enqueue_scripts()

Load admin Javascript.

public admin_enqueue_scripts([mixed $hook = '' ]) : void
Parameters
$hook : mixed = ''
Tags
access

public

since
1.0.0

admin_enqueue_styles()

Load admin CSS.

public admin_enqueue_styles([mixed $hook = '' ]) : void
Parameters
$hook : mixed = ''
Tags
access

public

since
1.0.0

adminInit()

Method that is used on plugin initialization time

public adminInit() : mixed
Tags
since
1.0.0

instance()

Ensures only one instance of Class is loaded or can be loaded.

public static instance() : Main
Tags
since
1.0.0
static
Return values
Main

Class instance

Show action links on the plugin screen.

public plugin_action_links(mixed $links) : array<string|int, mixed>
Parameters
$links : mixed

Plugin Action links.

Return values
array<string|int, mixed>

settings_UI()

public settings_UI() : mixed

        
On this page

Search results