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

Filter: wpseo_twitter_creator_account Allow changing the Twitter account as output in the Twitter card by Yoast SEO.

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

add_filter( 'wpseo_twitter_creator_account', 'wp_kama_wpseo_twitter_creator_account_filter' );

/**
 * Function for `wpseo_twitter_creator_account` filter-hook.
 * 
 * @param string $twitter The twitter account name string.
 *
 * @return string
 */
function wp_kama_wpseo_twitter_creator_account_filter( $twitter ){

	// filter...
	return $twitter;
}
$twitter(строка)
The twitter account name string.

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

Indexable_Post_Type_Presentation::generate_twitter_creator()
wpseo_twitter_creator_account
yoast/src/presentations/indexable-post-type-presentation.php 393
$twitter_creator = \apply_filters( 'wpseo_twitter_creator_account', $twitter_creator );

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

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