\jb\adminInstall

Class Install

Summary

Methods
Properties
Constants
activation()
maybe_network_activation()
single_site_activation()
set_defaults()
create_roles()
create_job_types()
predefined_pages()
predefined_page()
$install_process
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$install_process

$install_process : bool

Type

normal

Methods

activation()

activation() : mixed

Plugin Activation

Returns

mixed

maybe_network_activation()

maybe_network_activation() : mixed

Check if plugin is network activated make the first installation on all blogs

Returns

mixed

single_site_activation()

single_site_activation() : mixed

Single site plugin activation handler

Returns

mixed

set_defaults()

set_defaults(array  $defaults) : mixed

Set default JB settings

Parameters

array $defaults

Returns

mixed

create_roles()

create_roles() : mixed

Parse user capabilities and set the proper capabilities for roles

Returns

mixed

create_job_types()

create_job_types() : mixed

Create pre-defined Job Types

Returns

mixed

predefined_pages()

predefined_pages() : mixed

Install all predefined pages

Returns

mixed

predefined_page()

predefined_page( $slug) : mixed

Install predefined page via the page slug

Parameters

$slug

Returns

mixed