Plugin extends Premium_Plugin implements Licensed_Plugin, Registerable, Translatable, Service_Provider
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 = 510037
- NAME = 'WooCommerce Express Shop Page'
- __construct() : mixed
- Constructs and initializes the main plugin class.
- add_services() : mixed
- This method returns an array of services to register.
- check_all_requirements() : bool
- Check all the requirements are met
- check_wc_requirements() : bool
- Check the WooCommerce requirements are met.
- check_wp_requirements() : bool
- Check the WP Requirements are met
- load_textdomain() : mixed
- Load plugin textdomain
- maybe_load_plugin() : mixed
- Load plugin classes and services
- register() : mixed
- Registers the plugin with WordPress.
- add_missing_woocommerce_notice() : mixed
- Display missing notice WooCommerce notice
Constants
ITEM_ID
public
mixed
ITEM_ID
= 510037
NAME
public
mixed
NAME
= 'WooCommerce Express Shop Page'
Methods
__construct()
Constructs and initializes the main plugin class.
public
__construct([string $file = null ][, string $version = '1.0.0' ]) : mixed
Parameters
- $file : string = null
-
The root plugin FILE
- $version : string = '1.0.0'
-
The current plugin version
Return values
mixed —add_services()
This method returns an array of services to register.
public
add_services() : mixed
Return values
mixed —check_all_requirements()
Check all the requirements are met
public
check_all_requirements() : bool
Return values
bool —check_wc_requirements()
Check the WooCommerce requirements are met.
public
check_wc_requirements() : bool
Return values
bool —check_wp_requirements()
Check the WP Requirements are met
public
check_wp_requirements() : bool
Return values
bool —load_textdomain()
Load plugin textdomain
public
load_textdomain() : mixed
Return values
mixed —maybe_load_plugin()
Load plugin classes and services
public
maybe_load_plugin() : mixed
Return values
mixed —register()
Registers the plugin with WordPress.
public
register() : mixed
Return values
mixed —add_missing_woocommerce_notice()
Display missing notice WooCommerce notice
private
add_missing_woocommerce_notice() : mixed