Applied to all registered elements before they are added to Avada Builder library. Useful for removing or adding elements to the library.
Copy to Clipboardfunction filter_function_name( $elements ) {
// Process $elements here
return $elements;
}
add_filter( 'fusion_builder_all_elements', 'filter_function_name' );
x 1function filter_function_name( $elements ) {2 // Process $elements here34 return $elements;5}6add_filter( 'fusion_builder_all_elements', 'filter_function_name' );7