Shortcode
in package
implements
Service, Registerable, Conditional
Handles the registration and output for the [quick_view] shortcode.
Tags
Interfaces, Classes and Traits
- Service
- Marker interface to denote a service.
- Registerable
- An object that can be registered with WordPress via the Plugin API, i.e. add_action() and add_filter().
- Conditional
- An object which is loaded conditionally.
Table of Contents
- $button_display : mixed
- __construct() : mixed
- add_button_class() : mixed
- do_shortcode() : mixed
- is_required() : bool
- Is this object required?
- register() : mixed
Properties
$button_display
private
mixed
$button_display
Methods
__construct()
public
__construct(Button_Display $button_display) : mixed
Parameters
- $button_display : Button_Display
Return values
mixed —add_button_class()
public
add_button_class(mixed $class) : mixed
Parameters
- $class : mixed
Return values
mixed —do_shortcode()
public
do_shortcode(mixed $atts) : mixed
Parameters
- $atts : mixed
Return values
mixed —is_required()
Is this object required?
public
is_required() : bool
Return values
bool —true if required, false otherwise.
register()
public
register() : mixed