wpseo_introductions хук-фильтрYoast 1.0

Filter: Adds the possibility to add additional introductions to be included.

Использование

add_filter( 'wpseo_introductions', 'wp_kama_wpseo_introductions_filter' );

/**
 * Function for `wpseo_introductions` filter-hook.
 * 
 * @param Introduction_Interface $introductions This filter expects a list of Introduction_Interface instances and expects only Introduction_Interface implementations to be added to the list.
 *
 * @return Introduction_Interface
 */
function wp_kama_wpseo_introductions_filter( $introductions ){

	// filter...
	return $introductions;
}
$introductions(Introduction_Interface)
This filter expects a list of Introduction_Interface instances and expects only Introduction_Interface implementations to be added to the list.

Где вызывается хук

Introductions_Collector::add_introductions()
wpseo_introductions
yoast/src/introductions/application/introductions-collector.php 73
$filtered_introductions = (array) \apply_filters( 'wpseo_introductions', $introductions );

Где используется хук в Yoast SEO

Использование не найдено.