Eeco_WCO_Main
in package
Table of Contents
- $classes : mixed
- array of files to include
- __construct() : mixed
- do initializing
- add_assets() : mixed
- Add offer assets
- include_files() : void
- include all required files
- init() : mixed
- init plugins
- initialize_db() : void
- initialize db by checking if table need updates
- options() : mixed
- Filter options and make sure they are in correct format
- run() : void
- register settings page and its content
Properties
$classes
array of files to include
private
mixed
$classes
= ['class-wco-admin.php', 'class-wco-db.php', 'wco-functions.php', 'class-wco-cart.php', 'class-wco-ajax.php', 'class-wco-account.php', 'class-update-client.php', 'class-wco-reports.php', 'class-wco-offer-table.php']
Methods
__construct()
do initializing
public
__construct() : mixed
Return values
mixed —add_assets()
Add offer assets
public
add_assets() : mixed
Return values
mixed —include_files()
include all required files
public
include_files() : void
Return values
void —init()
init plugins
public
init() : mixed
Return values
mixed —initialize_db()
initialize db by checking if table need updates
public
initialize_db() : void
Return values
void —options()
Filter options and make sure they are in correct format
public
options(mixed $value, string $option) : mixed
Parameters
- $value : mixed
-
The value to filter
- $option : string
-
Option name
Return values
mixed —The result
run()
register settings page and its content
public
run() : void