bcn_template_tags

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

  • $replacements(array)(required) The array of template tags and replacements. This array contains key value pairs, where a key is the template tag, and the corresponding value is the value to replace the tag with
  • $type(array)(optional) 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 no suitable ID exists

Related Articles