Plugin extends Premium_Plugin implements Registerable, Translatable, Service_Provider, Licensed_Plugin

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

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
Translatable
Service_Provider
Licensed_Plugin

Table of Contents

ITEM_ID  = 8381
NAME  = 'Posts Table Pro'
__construct()  : mixed
Constructs and initializes the plugin data.
add_services()  : array<string|int, Service>
Get the list of services that the plugin requires.
load_textdomain()  : void
Load the plugin's language files by calling load_plugin_textdomain.
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() : array<string|int, Service>
Tags
Return values
array<string|int, Service>

The list of services.

load_textdomain()

Load the plugin's language files by calling load_plugin_textdomain.

public load_textdomain() : void
Tags
Return values
void

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