-
Notifications
You must be signed in to change notification settings - Fork 0
Courier_Notice_Metabox
github-actions[bot] edited this page Aug 26, 2024
·
12 revisions
Class Courier_Notice_Metabox
- Full name:
\CourierNotices\Controller\Admin\Courier_Notice_Metabox
Register the hooks and filters
public register_actions(): mixed
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 an option for selecting notice type
public add_meta_boxes(): mixed
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. |
Show select for selecting notice type
public post_submitbox_misc_actions(): mixed
Automatically generated on 2024-08-26