wpseo_breadcrumb_output_id хук-фильтр . Yoast 1.0
Filter: 'wpseo_breadcrumb_output_id' - Allow changing the HTML ID on the Yoast SEO breadcrumbs wrapper element.
Использование
add_filter( 'wpseo_breadcrumb_output_id', 'filter_function_name_2419' ); function filter_function_name_2419( $unsigned ){ // filter... return $unsigned; }
- $unsigned(строка)
- ID to add to the wrapper element.
Где вызывается хук
wpseo_breadcrumb_output_id
yoast/src/presenters/breadcrumbs-presenter.php 185
$this->id = \apply_filters( 'wpseo_breadcrumb_output_id', '' );