Skip to content

Install

github-actions[bot] edited this page Aug 26, 2024 · 12 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 on 2024-08-26

Clone this wiki locally