Plugin extends Premium_Plugin
The main plugin class. Responsible for setting up to core plugin services.
Tags
Table of Contents
- ITEM_ID = 194365
- NAME = 'Document Library Pro'
- __construct() : mixed
- Constructs and initalizes the main plugin class.
- add_services() : mixed
- Retrieve the plugin services.
- check_for_db_updates() : mixed
- Check for database updates.
- register() : mixed
- Registers the plugin with WordPress.
- register_widgets() : mixed
- Register Widgets
- check_updates() : mixed
- Check if plugin has updates.
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 —add_services()
Retrieve the plugin services.
public
add_services() : mixed
Return values
mixed —check_for_db_updates()
Check for database updates.
public
check_for_db_updates() : 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