Plugin extends Premium_Plugin implements Licensed_Plugin, Registerable, Translatable, Service_Provider Uses Service_Container
The main plugin class. Responsible for setting up to core plugin services.
Tags
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.
- get_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
NAME
public
mixed
NAME
= 'Document Library Pro'
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
Return values
mixed —get_services()
Retrieve the plugin services.
public
get_services() : array<string|int, mixed>
Return values
array<string|int, mixed> —load_textdomain()
Load the text domain directory
public
load_textdomain() : mixed
Return values
mixed —maybe_load_plugin()
Maybe bootup plugin
public
maybe_load_plugin() : mixed
Return values
mixed —register()
Registers the plugin with WordPress.
public
register() : mixed
Return values
mixed —register_widgets()
Register Widgets
public
register_widgets() : mixed
Return values
mixed —check_updates()
Check if plugin has updates.
private
check_updates() : mixed
Return values
mixed —check_wp_requirements()
Check the WP Requirements
private
check_wp_requirements() : bool