Shortcode implements Standard_Service, Registerable
Handles shortcodes.
Tags
Interfaces, Classes and Traits
- Standard_Service
- Registerable
Table of Contents
- $display : Display
- The display service.
- pagination_shortcode() : string
- Registers the pagination shortcode.
- register() : void
- Register the hooks needed to render the frontend.
- register_shortcodes() : void
- Register the shortcodes.
- results_shortcode() : string
- Registers the results shortcode.
- shortcode() : string
- Registers the renderer shortcode.
Properties
$display
The display service.
protected
Display
$display
Methods
pagination_shortcode()
Registers the pagination shortcode.
public
pagination_shortcode(array<string|int, mixed> $atts) : string
Parameters
- $atts : array<string|int, mixed>
Return values
string —register()
Register the hooks needed to render the frontend.
public
register() : void
Return values
void —register_shortcodes()
Register the shortcodes.
public
register_shortcodes() : void
Return values
void —results_shortcode()
Registers the results shortcode.
public
results_shortcode(array<string|int, mixed> $atts) : string
Parameters
- $atts : array<string|int, mixed>
Return values
string —shortcode()
Registers the renderer shortcode.
public
shortcode(array<string|int, mixed> $atts) : string
Parameters
- $atts : array<string|int, mixed>