Skip to content

Courier_Notice_Metabox

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

Courier_Notice_Metabox

Class Courier_Notice_Metabox

  • Full name: \CourierNotices\Controller\Admin\Courier_Notice_Metabox

Methods

register_actions

Register the hooks and filters

public register_actions(): mixed

disable_block_editor

Disable the block editor for courier notices

public disable_block_editor(mixed $current_status, mixed $post_type): mixed

Until we create blocks

Parameters:

Parameter Type Description
$current_status mixed
$post_type mixed

add_meta_boxes

Add an option for selecting notice type

public add_meta_boxes(): mixed

meta_box

Allow for notices to be customized

public meta_box(object $post): mixed

Set expiration on a notice Assign a notice to a specific user in within WordPress

Parameters:

Parameter Type Description
$post object The post object.

post_submitbox_misc_actions

Show select for selecting notice type

public post_submitbox_misc_actions(): mixed


Automatically generated on 2024-08-26

Clone this wiki locally