Install

Handles install routines

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

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
Tags
Return values
mixed

Search results