Yoast\WP\SEO\Presenters\Twitter
Description_Presenter::get() public Yoast 1.0
Run the Twitter description through replace vars and the wpseo_twitter_description filter.
{} Это метод класса: Description_Presenter{}
Хуки из метода
Возвращает
Строку. The filtered Twitter description.
Использование
$Description_Presenter = new Description_Presenter(); $Description_Presenter->get();
Код Description_Presenter::get() Description Presenter::get Yoast 15.6.2
public function get() {
/**
* Filter: 'wpseo_twitter_description' - Allow changing the Twitter description as output in the Twitter card by Yoast SEO.
*
* @api string $twitter_description The description string.
*
* @param Indexable_Presentation $presentation The presentation of an indexable.
*/
return \apply_filters( 'wpseo_twitter_description', $this->replace_vars( $this->presentation->twitter_description ), $this->presentation );
}