Filter: bricks/get_template_tags
Filters the list of template tags displayed in the Bricks template manager. Template tags are a custom taxonomy used to organize templates.
Parameters
Section titled “Parameters”$tags(array): Associative array of template tags, where the key is the term slug and the value is the term name.
Example usage
Section titled “Example usage”add_filter( 'bricks/get_template_tags', function( $tags ) { // Example: Remove the 'dark' tag from the list if ( isset( $tags['dark'] ) ) { unset( $tags['dark'] ); }
return $tags;} );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.