Skip to main content
All CollectionsDevelopers
Divi Builder PHP Hooks
Divi Builder PHP Hooks

Learn about the PHP hooks that are available in Divi Builder features.

Updated over a year ago

Conditional Display

et_module_process_display_conditions

Filters every rendered module output for processing the Display Conditions option group.

Type: Filter

Since: 4.13.1

Param

Type

Description

$output

string

HTML output of the rendered module.

$render_method

string

The render method is used to render the module.

$this

ET_Builder_Element

The current instance of ET_Builder_Element.

et_is_display_conditions_option_visible

Filters Display Conditions option visibility to determine whether to add its field to the Visual Builder.

Useful for displaying/hiding the option on the Visual Builder.

Type: Filter

Since: 4.13.1

Param

Type

Description

$default_status

boolean

True to make the option visible on VB, False to make it hidden.

et_is_display_conditions_functionality_enabled

Filters Display Conditions functionality to determine whether to enable or disable the functionality.

Useful for disabling/enabling the Display Condition feature site-wide.

Type: Filter

Since: 4.13.1

Param

Type

Description

$default_status

boolean

True to enable the functionality, False to disable it.

Did this answer your question?