Plugin extends Premium_Plugin
The main plugin class. Responsible for setting up to core plugin services.
Tags
Table of Contents
- ITEM_ID = 236796
- NAME = 'WooCommerce Restaurant Ordering'
- $notices : Notices
- The notices object
- __construct() : mixed
- Constructs and initialize the main plugin class.
- add_services() : mixed
- check_wc_requirements() : bool
- Check the WooCommerce requirements are met.
- check_wp_requirements() : bool
- Check the WP Requirements are met
Constants
ITEM_ID
public
mixed
ITEM_ID
= 236796
NAME
public
mixed
NAME
= 'WooCommerce Restaurant Ordering'
Properties
$notices
The notices object
private
Notices
$notices
Methods
__construct()
Constructs and initialize the main plugin class.
public
__construct([string $file = null ][, string $version = '1.0' ]) : mixed
Parameters
- $file : string = null
-
The path to the main plugin file.
- $version : string = '1.0'
-
The current plugin version.
Return values
mixed —add_services()
public
add_services() : mixed
Return values
mixed —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