Filter: bricks/get_template_bundles
Filters the list of template bundles displayed in the Bricks template manager. Template bundles are a custom taxonomy used to categorize templates.
Parameters
Section titled “Parameters”$bundles(array): Associative array of template bundles, 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_bundles', function( $bundles ) { // Example: Rename a specific bundle if ( isset( $bundles['my-bundle'] ) ) { $bundles['my-bundle'] = 'My Renamed Bundle'; }
return $bundles;} );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.