Skip to content
Get Bricks

Filter: bricks/acf/taxonomy/show_as_link

Determines whether the ACF Taxonomy field dynamic data output should be rendered as links to the term archives.

  • $show_as_link (bool): Whether to render as links. Defaults to true.
  • $value (mixed): The raw value of the ACF Taxonomy field.
  • $field (array): The ACF field settings.
add_filter( 'bricks/acf/taxonomy/show_as_link', function( $show_as_link, $value, $field ) {
// Disable links for taxonomy terms
return false;
}, 10, 3 );