Filter: bricks/builder/term_name
Filters the term name displayed in the Bricks builder interface (e.g., in taxonomy pickers).
Parameters
Section titled “Parameters”$term_name(string): The formatted term name (e.g.,Term Name (Taxonomy Label)).$term_id(int|string): The ID of the term.$taxonomy(string): The slug of the taxonomy.
Example usage
Section titled “Example usage”add_filter( 'bricks/builder/term_name', function( $term_name, $term_id, $taxonomy ) { // Example: Add the term ID to the name return $term_name . ' [ID: ' . $term_id . ']';}, 10, 3 );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.