Tabs_Display
in package
implements
Service, Registerable, Conditional
Handles the display of the Quick View button in the shop.
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
- $scripts : mixed
- $settings : mixed
- $tabs : mixed
- __construct() : mixed
- generate_qv_tabs() : mixed
- is_required() : bool
- Is this object required?
- register() : mixed
- show_qv_tabs() : mixed
Properties
$scripts
private
mixed
$scripts
$settings
private
mixed
$settings
$tabs
private
mixed
$tabs
= []
Methods
__construct()
public
__construct(Frontend_Scripts $scripts) : mixed
Parameters
- $scripts : Frontend_Scripts
Return values
mixed —generate_qv_tabs()
public
generate_qv_tabs(mixed $product) : mixed
Parameters
- $product : 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
Return values
mixed —show_qv_tabs()
public
show_qv_tabs(mixed $product) : mixed
Parameters
- $product : mixed