fusion_builder_enabled_elements

fusion_builder_enabled_elements

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 here3​4    return $elements;5}6add_filter( 'fusion_builder_enabled_elements', 'filter_function_name' );7

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注