This filter allows control over Breadcrumb NavXT Paths’ check of whether or not a term belong to the post that the term hierarchy is being generated for. This filter was introduced in 1.7.0. It receives four parameters:

  • $term_is_a_post_term(boolean)(required) Whether or not the referrer term is a term the post has
  • $ref_term(WP_Term)(optional) The referrer term
  • $post_id(int)(optional) The ID of the post
  • $post_type(string)(optional) The name of the post type of the post