-
Notifications
You must be signed in to change notification settings - Fork 0
Courier_Notices
github-actions[bot] edited this page Aug 26, 2024
·
12 revisions
Courier_Notices Class
- Full name:
\CourierNotices\Controller\Courier_Notices
JS handle
protected static string $handle
- This property is static.
JS variable name
protected static string $js_variable
- This property is static.
Dependencies
protected static array $dependencies
- This property is static.
Register our hooks
public register_actions(): mixed
Enqueue all of our needed scripts
public wp_enqueue_scripts(): mixed
Enqueue all the styles needed for the design of our courier notices within the admin
public wp_enqueue_styles(): mixed
Add admin Query Vars
public add_query_vars(array $vars): array
Parameters:
Parameter | Type | Description |
---|---|---|
$vars |
array | Array of query vars. |
Register the 'courier_notice' post type
public register_custom_post_type(): mixed
Register the taxonomies for the courier_notice post type
public register_taxonomies(): mixed
Automatically generated on 2024-08-26