gdcub_multicrumbs_final_list
This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!
The filter ‘gdcub_multicrumbs_final_list’ allows you to modify the list of the breadcrumbs in the multi breadcrumbs list before it is sent to rendering.
This filter provides 5 arguments.
Arguments
- $breadcrumbs: the associated array with the one or more breadcrumbs lists – each element is a breadcrumbs list.
- $build: array with the multi-build settings, containing rules for different breadcrumbs types.
- $atts: list of the settings for the multi breadcrumbs.
- $id: internal breadcrumbs ID.
- $obj: the generator object.
Breadcrumbs Lists
Each element in the $list is the breadcrumbs list. And, each breadcrumbs list contains crumbs with format referenced here: