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', 'filter_function_name_8798' ); function filter_function_name_8798( $twitter ){ // filter... return $twitter; }
- $twitter(строка)
- The twitter account name string.
Где вызывается хук
wpseo_twitter_creator_account
yoast/src/presentations/indexable-post-type-presentation.php 387
$twitter_creator = \apply_filters( 'wpseo_twitter_creator_account', $twitter_creator );