Posts_Table_Shortcode extends Table_Shortcode

This class handles our posts table shortcode.

Tags
deprecated
2.2

Replaced by Barn2\Plugin\Posts_Table_Pro\Table_Shortcode

Table of Contents

SHORTCODE  = 'posts_table'
__callStatic()  : mixed
do_shortcode()  : string
Handles our posts data table shortcode.
is_required()  : bool
Is this object required?
register()  : void
Register this object with WordPress.
register_shortcode()  : mixed
back_compat_args()  : mixed
can_do_shortocde()  : mixed

Constants

Methods

__callStatic()

public static __callStatic(mixed $name, mixed $args) : mixed
Parameters
$name : mixed
$args : mixed
Return values
mixed

do_shortcode()

Handles our posts data table shortcode.

public static do_shortcode(array<string|int, mixed> $atts[, string $content = '' ]) : string
Parameters
$atts : array<string|int, mixed>

The attributes passed in to the shortcode

$content : string = ''

The content passed to the shortcode (not used)

Return values
string

The shortcode output

is_required()

Is this object required?

public is_required() : bool
Return values
bool

true if required, false otherwise.

register()

Register this object with WordPress.

public register() : void
Return values
void

register_shortcode()

public static register_shortcode() : mixed
Tags
deprecated
2.2

Replaced by Table_Shortcode->register()

Return values
mixed

back_compat_args()

private static back_compat_args(mixed $args) : mixed
Parameters
$args : mixed
Return values
mixed

can_do_shortocde()

private static can_do_shortocde() : mixed
Return values
mixed

Search results