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 helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Thanks for sharing feedback. We're using it to improve these docs.