-
Notifications
You must be signed in to change notification settings - Fork 0
Courier_Notices
linchpin edited this page Nov 14, 2022
·
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 from source code comments on 2022-11-14 using phpDocumentor and saggre/phpdocumentor-markdown