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

Filter: wpseo_indexables_indexation_alert Allow developers to filter the reason of the indexation


add_filter( 'wpseo_indexables_indexation_alert', 'wp_kama_wpseo_indexables_indexation_alert_filter', 10, 2 );

 * Function for `wpseo_indexables_indexation_alert` filter-hook.
 * @param string $text   The text to show as reason.
 * @param string $reason The reason value.
 * @return string
function wp_kama_wpseo_indexables_indexation_alert_filter( $text, $reason ){

	// filter...
	return $text;
The text to show as reason.
The reason value.

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

yoast/src/presenters/admin/indexing-notification-presenter.php 96
return (string) \apply_filters( 'wpseo_indexables_indexation_alert', $text, $reason );

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

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