bcn_show_post_private

This filter is applied within the bcn_breadcrumb_trail class in the post_parents() and do_post()functions. This filter is intended to allow users to override the default behavior of Breadcrumb NavXT to include private posts in the breadcrumb trail of their published children. This filter was introduced in version 6.4. It receives two parameters:

  • $display(boolean)(required) Whether or not the post specified in the second parameter is to be included in the breadcrumb trail
  • $ID(integer)(optional) The ID of the post in question

Related Articles