bcn_display_separator

This filter is applied within the bcn_breadcrumb_trail class in the display_loop() function just before assembling the breadcrumb string. This filter was introduced in version 7.2. It receives four parameters:

  • $separator(string)(required) The separator to place after the current breadcrumb.
  • $position(integer)(optional) The current breadcrumb position at the current depth in the breadcrumb trail
  • $last_position(integer)(optional) The last possible position at this depth of the breadcrumb trail (size of the breadcrumb trail at this depth)
  • $depth(integer)(optional) The current depth (dimension/level) within the breadcrumb trail

Related Articles