Skip to content

Install

linchpin edited this page Feb 22, 2023 · 10 revisions

Install

Install Class

  • Full name: \CourierNotices\Controller\Install

Properties

config

Configuration

private \CourierNotices\Model\Config $config

Methods

__construct

Install constructor

public __construct(): mixed

register_actions

Registers hooks and filters

public register_actions(): mixed

add_capabilities

Add new capabilities to administrators.

public add_capabilities(): mixed

check_for_updates

Checks to see if we have any updates.

public check_for_updates(): mixed

insert_term_meta

Adds in our term meta for our courier types

private insert_term_meta(array $term, string $class_name, string $hex_color): mixed

Parameters:

Parameter Type Description
$term array The term to add meta to.
$class_name string The class name.
$hex_color string The hex color.

install

Install our default options.

public install(): mixed


Automatically generated from source code comments on 2023-02-22 using phpDocumentor and saggre/phpdocumentor-markdown