wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



block_core_breadcrumbs_items › Filtr WordPress Hooks

Od7.0.0
Przestarzałyn/a
› apply_filters( 'block_core_breadcrumbs_items', $breadcrumb_items )
Parametry:
  • () breadcrumb_items { Array of breadcrumb item data. @type string $label The breadcrumb text. @type string $url Optional. The breadcrumb link URL. @type bool $allow_html Optional. Whether to allow HTML in the label. When true, the label will be sanitized with wp_kses_post(), allowing only safe HTML tags. When false or omitted, all HTML will be escaped with esc_html(). Default false. }
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the breadcrumb items array before rendering.

Allows developers to modify, add, or remove breadcrumb items.




Źródło

$breadcrumb_items = apply_filters( 'block_core_breadcrumbs_items', $breadcrumb_items );