Search_Shortcode implements Service, Registerable, Conditional
This class handles the global doc search shortcode.
Tags
Interfaces, Classes and Traits
- Service
- Registerable
- Conditional
Table of Contents
- SHORTCODE = 'ptp_search'
- do_shortcode() : string
- Render the shortcode
- is_required() : mixed
- {@inheritdoc}
- register() : mixed
- {@inheritdoc}
Constants
SHORTCODE
public
mixed
SHORTCODE
= 'ptp_search'
Tags
Methods
do_shortcode()
Render the shortcode
public
static do_shortcode(array<string|int, mixed> $atts[, string $content = '' ]) : string
Parameters
- $atts : array<string|int, mixed>
- $content : string = ''
Tags
Return values
string —is_required()
{@inheritdoc}
public
is_required() : mixed
Tags
Return values
mixed —register()
{@inheritdoc}
public
register() : mixed