Applied to an array of enabled elements. Useful for auto enabling or disabling an element regardless of it』s state on Avada Builder > Settings page.
Copy to Clipboardfunction filter_function_name( $elements ) {
// Process $elements here
return $elements;
}
add_filter( 'fusion_builder_enabled_elements', 'filter_function_name' );
x 1function filter_function_name( $elements ) {2 // Process $elements here34 return $elements;5}6add_filter( 'fusion_builder_enabled_elements', 'filter_function_name' );7