Filter: bricks/elements/{element_name}/control_groups
Since Bricks 1.4 it is possible to add custom control groups to a specific element like so:
add_filter( 'bricks/elements/heading/control_groups', function( $control_groups ) { $control_groups['custom_controls'] = [ 'tab' => 'content', // or 'style' 'title' => esc_html__( 'Custom controls', 'my_plugin' ), ];
return $control_groups;} );Note: the above example adds a new control group with the title “Custom controls” to the heading element, using the filter bricks/elements/**heading**/control_groups. To learn about other Bricks controls, visit the Controls section.
Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Please do not include passwords, license keys, or personal data. We store submitted notes to improve the docs.
Thanks for sharing feedback. We're using it to improve these docs.