bcn_breadcrumb_types

This filter is applied within the bcn_breadcrumb class in the assemble() function. This filter was introduced in version 5.0. It receives two parameters:

  • $type(array)(required) The array of type strings for the breadcrumb
  • $id(int|NULL)(optional) The ID of the resource represented by the breadcrumb, will be NULL if not suitable ID exists