AvailabilityCalendarShortcode
extends AbstractShortcode
in package
Table of Contents
- $name : mixed
- __construct() : mixed
- addActions() : mixed
- generateShortcode() : string
- getName() : mixed
- register() : mixed
- render() : string
- buildOrderQuery() : array<string|int, mixed>
Properties
$name
protected
mixed
$name
= 'mphb_availability_calendar'
Methods
__construct()
public
__construct() : mixed
Return values
mixed —addActions()
public
addActions() : mixed
Return values
mixed —generateShortcode()
public
generateShortcode([array<string|int, mixed> $attrs = array() ]) : string
Parameters
- $attrs : array<string|int, mixed> = array()
-
Attributes of shortcode
Return values
string —getName()
public
getName() : mixed
Return values
mixed —register()
public
register() : mixed
Return values
mixed —render()
public
render(array<string|int, mixed> $atts, null $content, mixed $shortcodeName) : string
Parameters
- $atts : array<string|int, mixed>
- $content : null
- $shortcodeName : mixed
Return values
string —buildOrderQuery()
protected
buildOrderQuery(array<string|int, mixed> $atts, array<string|int, mixed> $defaults) : array<string|int, mixed>
Parameters
- $atts : array<string|int, mixed>
-
Shortcode attributes.
- $defaults : array<string|int, mixed>
-
Default values of "orderby" and "order" attributes.