bcn_paths_tax_use_query_var

This filter allows control over the query variable Breadcrumb NavXT Paths uses to find referring terms. This filter was introduced in 1.8.0. It receives three parameters:

  • $use_query_var(bool)(required) Whether or not to use the query variable specified in the second parameter for the taxonomy specified in the third parameter
  • $query_var(string)(optional) The query variable Breadcrumb NavXT intends to use to find the referring term
  • $taxonomy(WP_Taxonomy)(optional) The taxonomy that the query variable is being checked against for validity