-
Notifications
You must be signed in to change notification settings - Fork 0
Install
github-actions[bot] edited this page Aug 26, 2024
·
12 revisions
Install Class
- Full name:
\CourierNotices\Controller\Install
Configuration
private \CourierNotices\Model\Config $config
Install constructor
public __construct(): mixed
Registers hooks and filters
public register_actions(): mixed
Add new capabilities to administrators.
public add_capabilities(): mixed
Checks to see if we have any updates.
public check_for_updates(): mixed
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 our default options.
public install(): mixed
Automatically generated on 2024-08-26