wpseo_breadcrumb_indexables хук-фильтр . Yoast 1.0
Использование
add_filter( 'wpseo_breadcrumb_indexables', 'filter_function_name_3304', 10, 2 ); function filter_function_name_3304( $indexables, $context ){ // filter... return $indexables; }
- $indexables
- -
- $context
- -
Где вызывается хук
yoast/src/generators/breadcrumbs-generator.php 139
$indexables = \apply_filters( 'wpseo_breadcrumb_indexables', $indexables, $context );
Где используется хук в ядре Yoast SEO
yoast/src/integrations/third-party/woocommerce.php 97
\add_filter( 'wpseo_breadcrumb_indexables', [ $this, 'add_shop_to_breadcrumbs' ] );