Plugin extends Premium_Plugin implements Licensed_Plugin, Registerable, Translatable, Service_Provider

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

Licensed_Plugin
Registerable
Translatable
Service_Provider

Table of Contents

ITEM_ID  = 194365
NAME  = 'Document Library Pro'
__construct()  : mixed
Constructs and initalizes the main plugin class.
add_services()  : array<string|int, mixed>
Retrieve the plugin services.
load_textdomain()  : mixed
Load the text domain directory
maybe_load_plugin()  : mixed
Maybe bootup plugin.
register()  : mixed
Registers the plugin with WordPress.
register_widgets()  : mixed
Register Widgets
check_updates()  : mixed
Check if plugin has updates.
check_wp_requirements()  : bool
Check the WP Requirements

Constants

ITEM_ID

public mixed ITEM_ID = 194365
Tags

NAME

public mixed NAME = 'Document Library Pro'
Tags

Methods

__construct()

Constructs and initalizes the main plugin class.

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

The root plugin FILE

$version : string = '1.0'

The current plugin version

Tags
Return values
mixed

add_services()

Retrieve the plugin services.

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

load_textdomain()

Load the text domain directory

public load_textdomain() : mixed
Tags
Return values
mixed

maybe_load_plugin()

Maybe bootup plugin.

public maybe_load_plugin() : mixed
Tags
Return values
mixed

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

check_updates()

Check if plugin has updates.

private check_updates() : mixed
Tags
Return values
mixed

check_wp_requirements()

Check the WP Requirements

private check_wp_requirements() : bool
Tags
Return values
bool

Search results