Builder (base) — hooks
6 hooks — 4 actions · 2 filters.
| Hook | Type | Summary |
|---|---|---|
fw_builder_fullscreen_add_backdrop | action | Fires once to add a single shared backdrop element for all fullscreen builders on the page. |
fw_builder_fullscreen_add_classes | filter | Filters extra CSS classes added to a fullscreen builder option's wrapper. |
fw_builder_has_template_saving_feature | filter | Filters whether the builder option exposes the template-saving feature, based on its template_saving config. |
fw_ext_builder:option_type:builder:before_enqueue | action | Fires before the builder option type enqueues its assets, passing the option and version for early asset setup. |
fw_ext_builder:option_type:builder:enqueue | action | Fires when the builder option type enqueues its assets, passing the option, version, and base URI. |
fw_ext_builder:template_components_register | action | Fires to let listeners register builder template components during component collection. |
fw_builder_fullscreen_add_backdrop
🎬 action
Fires once to add a single shared backdrop element for all fullscreen builders on the page.
add_action( 'fw_builder_fullscreen_add_backdrop', $callback );
Fired in: framework/extensions/builder/includes/option-types/builder/view.php:67
fw_builder_fullscreen_add_classes
🧪 filter
Filters extra CSS classes added to a fullscreen builder option's wrapper.
add_filter( 'fw_builder_fullscreen_add_classes', $callback );
Fired in: framework/extensions/builder/includes/option-types/builder/extends/class-fw-option-type-builder.php:656
fw_builder_has_template_saving_feature
🧪 filter
Filters whether the builder option exposes the template-saving feature, based on its template_saving config.
add_filter( 'fw_builder_has_template_saving_feature', $callback );
Fired in: framework/extensions/builder/includes/option-types/builder/includes/templates/class-fw-ext-builder-templates.php:97
fw_ext_builder:option_type:builder:before_enqueue
🎬 action
Fires before the builder option type enqueues its assets, passing the option and version for early asset setup.
add_action( 'fw_ext_builder:option_type:builder:before_enqueue', $callback );
Fired in: framework/extensions/builder/includes/option-types/builder/extends/class-fw-option-type-builder.php:390
fw_ext_builder:option_type:builder:enqueue
🎬 action
Fires when the builder option type enqueues its assets, passing the option, version, and base URI.
add_action( 'fw_ext_builder:option_type:builder:enqueue', $callback );
Fired in: framework/extensions/builder/includes/option-types/builder/extends/class-fw-option-type-builder.php:544
fw_ext_builder:template_components_register
🎬 action
Fires to let listeners register builder template components during component collection.
add_action( 'fw_ext_builder:template_components_register', $callback );
Fired in: framework/extensions/builder/includes/option-types/builder/includes/templates/class-fw-ext-builder-templates.php:162
← Back to Hooks overview