Skip to content

Divi Builder PHP Hooks

Vintage

Source category: hooks Last updated: 2022-07-12

Conditional Display

et_module_process_display_conditions

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

Type: Filter Since: 4.13.1

ParamTypeDescription
$outputstringHTML output of the rendered module.
$render_methodstringThe render method used to render the module.
$thisET_Builder_ElementThe 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 or not. Useful for displaying/hiding the option on the Visual Builder.

Type: Filter Since: 4.13.1

ParamTypeDescription
$default_statusbooleanTrue 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 or not. Useful for disabling/enabling “Display Condition” feature site-wide.

Type: Filter Since: 4.13.1

ParamTypeDescription
$default_statusbooleanTrue to enable the functionality, False to disable it.

Reference compiled from publicly available Divi developer documentation.