SLP_Power_Category_Selector
in package
A category selector object.
Table of Contents
Properties
- $label : string
- $label : mixed
- $selected : bool
- $selected : mixed
- $ui_builder : callable
- $ui_builder : mixed
- $value : string
- $value : mixed
Methods
- __construct() : mixed
Properties
$label
public
string
$label
Plain text label for the UI.
$label
public
mixed
$label
$selected
public
bool
$selected
Is this the active selector type (true).
$selected
public
mixed
$selected
$ui_builder
public
callable
$ui_builder
The function that returns a string that will be used for the HTML output.
$ui_builder
public
mixed
$ui_builder
$value
public
string
$value
The slug saved in addon->options that identifies this selector type.
$value
public
mixed
$value
Methods
__construct()
public
__construct([mixed $options = array() ]) : mixed
Parameters
- $options : mixed = array()