Skip to content

Courier_Notices

github-actions[bot] edited this page Aug 26, 2024 · 12 revisions

Courier_Notices

Courier_Notices Class

  • Full name: \CourierNotices\Controller\Courier_Notices

Properties

handle

JS handle

protected static string $handle
  • This property is static.

js_variable

JS variable name

protected static string $js_variable
  • This property is static.

dependencies

Dependencies

protected static array $dependencies
  • This property is static.

Methods

register_actions

Register our hooks

public register_actions(): mixed

wp_enqueue_scripts

Enqueue all of our needed scripts

public wp_enqueue_scripts(): mixed

wp_enqueue_styles

Enqueue all the styles needed for the design of our courier notices within the admin

public wp_enqueue_styles(): mixed

add_query_vars

Add admin Query Vars

public add_query_vars(array $vars): array

Parameters:

Parameter Type Description
$vars array Array of query vars.

register_custom_post_type

Register the 'courier_notice' post type

public register_custom_post_type(): mixed

register_taxonomies

Register the taxonomies for the courier_notice post type

public register_taxonomies(): mixed


Automatically generated on 2024-08-26

Clone this wiki locally