Search_Shortcode implements Service, Registerable, Conditional

This class handles the global doc search shortcode.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

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

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
Tags
Return values
mixed

Search results