Install
Handles install routines
Tags
Table of Contents
- $db_updates : mixed
- create_pages() : mixed
- Create pages that the plugin relies on, storing page IDs in variables.
- create_roles() : mixed
- Creates the wholesale roles.
- install() : mixed
- Activation hook
- update_180_wholesale_order_meta() : mixed
- update_db() : mixed
Properties
$db_updates
private
static mixed
$db_updates
= ['1.8.0' => ['update_180_wholesale_order_meta']]
Tags
Methods
create_pages()
Create pages that the plugin relies on, storing page IDs in variables.
public
static create_pages() : mixed
Tags
Return values
mixed —create_roles()
Creates the wholesale roles.
public
static create_roles() : mixed
Tags
Return values
mixed —install()
Activation hook
public
static install(bool $network_wide) : mixed
Parameters
- $network_wide : bool
Tags
Return values
mixed —update_180_wholesale_order_meta()
public
static update_180_wholesale_order_meta() : mixed
Tags
Return values
mixed —update_db()
public
static update_db() : mixed