Skip to content

Shortcodes

linchpin edited this page Feb 22, 2023 · 10 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 from source code comments on 2023-02-22 using phpDocumentor and saggre/phpdocumentor-markdown