How to add/remove the items of the breadcrumb trail?
-
Use the filter
breadcrumb_block_get_items
to add or remove some items from the breadcrumb trail:add_filter( 'breadcrumb_block_get_items', function ( $items, $breadcrumbs_instance ) { return $items; }, 10, 2 );
- The topic ‘How to add/remove the items of the breadcrumb trail?’ is closed to new replies.