Plugin extends Premium_Plugin

The main plugin class. Responsible for setting up to core plugin services.

Tags
author

Barn2 Plugins [email protected]

license

GPL-3.0

copyright

Barn2 Media Ltd

Table of Contents

ITEM_ID  = 8381
NAME  = 'Posts Table Pro'
__construct()  : mixed
Constructs and initializes the plugin data.
add_services()  : void
Get the list of services that the plugin requires.
get_design_page_url()  : string
Get the design page URL in the WordPress admin.
maybe_upgrade()  : void
Verify if it needs to upgrade the database.
register()  : mixed
Registers the plugin with WordPress.
register_widgets()  : mixed
Register Widgets.

Constants

ITEM_ID

public mixed ITEM_ID = 8381
Tags

NAME

public mixed NAME = 'Posts Table Pro'
Tags

Methods

__construct()

Constructs and initializes the plugin data.

public __construct([string $file = null ][, string $version = '1.0' ]) : mixed
Parameters
$file : string = null

The path to the main plugin file.

$version : string = '1.0'

The current plugin version.

Tags
Return values
mixed

add_services()

Get the list of services that the plugin requires.

public add_services() : void
Tags
Return values
void

get_design_page_url()

Get the design page URL in the WordPress admin.

public get_design_page_url() : string
Tags
todo

Remove this once the barn2-lib package is updated.

Return values
string

(URL)

maybe_upgrade()

Verify if it needs to upgrade the database.

public maybe_upgrade() : void
Tags
Return values
void

register()

Registers the plugin with WordPress.

public register() : mixed
Tags
Return values
mixed

register_widgets()

Register Widgets.

public register_widgets() : mixed
Tags
Return values
mixed

Search results