Filter: bricks/theme_styles/control_groups
Filter: bricks/theme_styles/control_groups
Section titled “Filter: bricks/theme_styles/control_groups”Filters the control groups available in the Theme Styles settings panel. This allows you to add new sections or tabs to organize custom Theme Style controls.
Parameters
Section titled “Parameters”$control_groups(array): Associative array of control groups.
Example usage
Section titled “Example usage”add_filter( 'bricks/theme_styles/control_groups', function( $control_groups ) { // Add a new control group for 'My Plugin' $control_groups['my_plugin'] = [ 'title' => esc_html__( 'My Plugin Settings', 'my-plugin' ), 'tab' => 'content', // or 'style' ];
return $control_groups;} ); Was this page helpful?