Developer Knowledge Level

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_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.

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

Breadcrumbs

Each crumb in the $list is an array with the structure referenced here:

0
0
348
Rate this reference

You are not allowed to rate this post.

Comments

Leave a Reply