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

Filter: wpseo_schema_webpage_potential_action_target Allows filtering of the schema WebPage potentialAction target.

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

add_filter( 'wpseo_schema_webpage_potential_action_target', 'wp_kama_wpseo_schema_webpage_potential_action_target_filter' );
function wp_kama_wpseo_schema_webpage_potential_action_target_filter( $targets ){
	// filter...

	return $targets;
}
$targets(массив)
The URLs for the WebPage potentialAction target.

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

WebPage::add_potential_action()
wpseo_schema_webpage_potential_action_target
yoast/src/generators/schema/webpage.php 137
$targets = \apply_filters( 'wpseo_schema_webpage_potential_action_target', [ $url ] );

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

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