Divi_Product_List extends ET_Builder_Module
Divi Product List.
Tags
Table of Contents
- $slug : string
- Module slug.
- $vb_support : string
- Whether module support visual builder. e.g `on` or `off` or `partial`.
- $setting_controls : array<string|int, mixed>
- List of controls to allow module customization.
- get_advanced_fields_config() : array<string|int, mixed>
- Get module advanced fields config.
- get_fields() : array<string|int, mixed>
- Get module fields.
- init() : void
- Divi builder init function.
- render() : string
- Render module output.
Properties
$slug
Module slug.
public
string
$slug
= 'wcf_divi_product_list'
$vb_support
Whether module support visual builder. e.g `on` or `off` or `partial`.
public
string
$vb_support
= 'partial'
$setting_controls
List of controls to allow module customization.
protected
array<string|int, mixed>
$setting_controls
= []
Methods
get_advanced_fields_config()
Get module advanced fields config.
public
get_advanced_fields_config() : array<string|int, mixed>
Return values
array<string|int, mixed> —get_fields()
Get module fields.
public
get_fields() : array<string|int, mixed>
Return values
array<string|int, mixed> —init()
Divi builder init function.
public
init() : void
Return values
void —render()
Render module output.
public
render(array<string|int, mixed> $unprocessed_props, string $content, string $render_slug) : string
Parameters
- $unprocessed_props : array<string|int, mixed>
-
Module props.
- $content : string
-
Module content.
- $render_slug : string
-
Module render slug.