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

Filter: wpseo_transform_dashboard_subject_for_testing Allows overriding subjects like URLs for the dashboard, to facilitate testing in local environments.

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

add_filter( 'wpseo_transform_dashboard_subject_for_testing', 'wp_kama_wpseo_transform_dashboard_subject_for_testing_filter' );

/**
 * Function for `wpseo_transform_dashboard_subject_for_testing` filter-hook.
 * 
 * @param string $url The subject to be transformed.
 *
 * @return string
 */
function wp_kama_wpseo_transform_dashboard_subject_for_testing_filter( $url ){

	// filter...
	return $url;
}
$url(строка)
The subject to be transformed.

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

Site_Kit_Search_Console_Adapter::parse_response()
wpseo_transform_dashboard_subject_for_testing
yoast/src/dashboard/infrastructure/search-console/site-kit-search-console-adapter.php 157
$subject = \apply_filters( 'wpseo_transform_dashboard_subject_for_testing', $ranking->getKeys()[0] );

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

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