Filter: bricks/get_terms_options/excluded_taxonomies
Filters the list of taxonomies excluded from term selection controls in the builder. This allows you to hide specific taxonomies (e.g., internal taxonomies) from the UI.
Parameters
Section titled “Parameters”$excluded_taxonomies(array): Array of taxonomy slugs to exclude. Defaults includenav_menu,link_category,post_format.
Example usage
Section titled “Example usage”add_filter( 'bricks/get_terms_options/excluded_taxonomies', function( $excluded_taxonomies ) { // Example: Exclude 'my_internal_taxonomy' $excluded_taxonomies[] = 'my_internal_taxonomy';
return $excluded_taxonomies;} );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.