This filter is applied within the bcn_breadcrumb_trail class in the post_hierarchy() function. This filter was introduced in version 5.4 with three parameters. In version 5.5 a fourth parameter was added. It receives four parameters:
$term – (WP_Term|boolean)(required) The term object returned by bcn_breadcrumb_trail::pick_post_terms() to filter (note that this parameter may be the boolean value false)
$id – (id)(optional) The ID of the post this term is for
$type – (string)(optional) The post type name for the post represented by the ID in the second parameter
$taxonomy – (string)(optional) The name of the taxonomy the term belongs to
This filter is applied within the breadcrumb_navxt_trail class in the post_terms() function. This filter was introduced in version 5.4. It receives three parameters:
$terms – (array)(required) The array of term objects returned by get_the_terms() to filter
$taxonomy – (string)(optional) The name of the taxonomy for the terms
$id – (int)(optional) The ID of the post the terms are for
This filter is applied within the breadcrumb_navxt_trail class in the type_archive() function. This filter was introduced in version 5.2. It receives one parameter:
$post_type – (string)(required) The name of the post type to use for the post type archive breadcrumb
This filter is applied within the breadcrumb_navxt class in the wp_loaded() function. This filter was introduced in version 5.0. In 7.0, this filter was moved to the setup_setting_defaults() function and the array passed into the filter is now a settings (compliant with the mtekk/adminKit/setting interface) array instead of opts array. It receives one parameter:
$settings – (array)(required) The settings array for Breadcrumb NavXT
This filter is applied within the bcn_breadcrumb_trail class in the display_list() function. This filter was introduced in version 5.0. This filter was deprecated in version 6.0, use the new bcn_display_attributes filter instead. It receives three parameters:
$li_attributes – (string)(required) The attributes placed in the li tag that wraps the each breadcrumb
$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