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
This filter is applied before instantiating the breadcrumb_navxt class. This filter is intended to allow users to extend the bcn_breadcrumb_trail class and still use the existing admin interfaces. This filter was introduced in version 5.0. It receives one parameter:
$breadcrumb_trail – (bcn_breadcrumb_trail)(required) The instance of bcn_breadcrumb_trail that breadcrumb_navxt class will use
This filter is applied within the bcn_admin class in the admin_page() function. This filter is intended to allow users to override the default behavior of Breadcrumb NavXT to hide settings for non-public post types. This filter was introduced in version 4.3. It receives two parameters:
$public – (boolean)(required) Whether or not the post type is a publicly visible post type as represented by the public property of the post type object
$name – (string)(optional) The name of the post type