The filter ‘gdcub_menucrumbs_final_list’ allows you to modify the list of the crumbs in the menu based breadcrumbs list before it is sent to rendering.
This filter provides 4 arguments.
- $list: the array with the breadcrumbs, where each element of the array is also an array
- $menu: the WordPress menu object
- $args: list of the rendering arguments
- $style: list of the rendering style settings
Each crumb in the $list is an array with the structure referenced here: