bcn_breadcrumb_assembled_json_ld_array

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

  • $json_ld_array(array)(required) The JSON-LD array that will be returned by bcn_breadcrumb::assemble_json_ld() to filter
  • $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