Skip to content

Shortcodes

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

Shortcodes

Shortcodes Class

  • Full name: \CourierNotices\Controller\Shortcodes

Methods

register_actions

Registers the shortcodes.

public register_actions(): mixed

courier_notices

Output Courier Notifications

public courier_notices(array $atts = array()): false|string

Parameters:

Parameter Type Description
$atts array Array of attributes.

courier_notice

Get the courier notice based on the attributes

public courier_notice(array $atts, string $content = null): false|string|void

Parameters:

Parameter Type Description
$atts array Array of attributes.
$content string Notice content.


Automatically generated on 2024-06-26

Clone this wiki locally