Bricks_Filters_Group extends Element
Bricks Filters Group Element.
Tags
Table of Contents
- $category : string
- Element category.
- $icon : string
- Element icon.
- $name : string
- Element name.
- enqueue_scripts() : void
- Dequeue scripts when in builder.
- get_label() : string
- Get element label.
- render() : void
- Render element HTML.
- set_control_groups() : void
- Set control groups.
- set_controls() : void
- Set builder controls.
Properties
$category
Element category.
public
string
$category
= 'woocommerce-product-filters'
$icon
Element icon.
public
string
$icon
= 'ti-filter'
$name
Element name.
public
string
$name
= 'filters-group'
Methods
enqueue_scripts()
Dequeue scripts when in builder.
public
enqueue_scripts() : void
This is needed so that the scripts are not loaded when the element is used in the builder because we need to display a message to the user that the preview is not available in the builder.
Return values
void —get_label()
Get element label.
public
get_label() : string
Return values
string —render()
Render element HTML.
public
render() : void
Return values
void —set_control_groups()
Set control groups.
public
set_control_groups() : void
Return values
void —set_controls()
Set builder controls.
public
set_controls() : void