Filter: bricks/metabox/taxonomy/show_as_link
Determines whether Meta Box taxonomy fields retrieved via dynamic data should be rendered as links to the term archives.
Parameters
Section titled “Parameters”$show_as_link(bool): Whether to render as links. Default istrue.$value(mixed): The raw value of the taxonomy field.$field(array): The Meta Box field settings array.
Example usage
Section titled “Example usage”add_filter( 'bricks/metabox/taxonomy/show_as_link', function( $show_as_link, $value, $field ) { // Disable links for a specific taxonomy field if ( $field['id'] === 'my_taxonomy_field' ) { return false; }
return $show_as_link;}, 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.