Plugin extends Premium_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

Table of Contents

ITEM_ID  = 194365
LICENSE_GROUP  = 'DLA'
NAME  = 'Document Library Pro - Advanced'
$core_manager  : mixed
__construct()  : mixed
Constructs and initalizes the main plugin class.
add_services()  : mixed
Retrieve the plugin services.
check_db_updates()  : mixed
Check if plugin has updates.
get_core_manager()  : Core_Manager
Get the core manager.
handle_2_0_0_migrate_settings()  : mixed
Handle v2 settings migration.
register()  : void
Hook into WordPress
register_widgets()  : mixed
Register Widgets

Constants

ITEM_ID

public mixed ITEM_ID = 194365
Tags

LICENSE_GROUP

public mixed LICENSE_GROUP = 'DLA'
Tags

NAME

public mixed NAME = 'Document Library Pro - Advanced'
Tags

Properties

$core_manager

private mixed $core_manager
Tags

Methods

__construct()

Constructs and initalizes the main plugin class.

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

The main plugin file.

$version : string = '1.0.0'

The current plugin version.

Tags
Return values
mixed

add_services()

Retrieve the plugin services.

public add_services() : mixed
Tags
Return values
mixed

check_db_updates()

Check if plugin has updates.

public check_db_updates() : mixed
Tags
Return values
mixed

get_core_manager()

Get the core manager.

public get_core_manager() : Core_Manager
Tags
Return values
Core_Manager

handle_2_0_0_migrate_settings()

Handle v2 settings migration.

public handle_2_0_0_migrate_settings() : mixed

We need to handle this outside of the update functions because it runs too early.

Tags
Return values
mixed

register()

Hook into WordPress

public register() : void
Tags
Return values
void

register_widgets()

Register Widgets

public register_widgets() : mixed
Tags
Return values
mixed

Search results