Plugin extends Premium_Plugin implements Licensed_Plugin, Registerable, Translatable, Service_Provider

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

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Licensed_Plugin
Registerable
Translatable
Service_Provider

Table of Contents

ITEM_ID  = 12913
NAME  = 'WooCommerce Product Table'
__construct()  : mixed
Constructor.
add_services()  : array<string|int, Service>
Get the list of services that the plugin requires.
load_template_functions()  : void
Load the plugin template functions file.
load_textdomain()  : void
Load the plugin's language files by calling load_plugin_textdomain.
register()  : void
Registers the plugin hooks (add_action/add_filter).
register_widgets()  : void
Register the plugin's widgets.

Constants

ITEM_ID

public mixed ITEM_ID = 12913

NAME

public mixed NAME = 'WooCommerce Product Table'

Methods

__construct()

Constructor.

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

The main plugin file (FILE). This is the file WordPress loads in the plugin root folder.

$version : string = '1.0'

The plugin version string, e.g. '1.2.1'

Return values
mixed

add_services()

Get the list of services that the plugin requires.

public add_services() : array<string|int, Service>
Return values
array<string|int, Service>

The list of services.

load_template_functions()

Load the plugin template functions file.

public load_template_functions() : void
Return values
void

load_textdomain()

Load the plugin's language files by calling load_plugin_textdomain.

public load_textdomain() : void
Return values
void

register()

Registers the plugin hooks (add_action/add_filter).

public register() : void
Return values
void

register_widgets()

Register the plugin's widgets.

public register_widgets() : void
Return values
void

Search results