Yoast\WP\SEO\Presenters\Webmaster
Yandex_Presenter{} Yoast 1.0
Presenter class for the Yandex Webmaster verification setting.
Хуков нет.
Возвращает
Null. Ничего.
Использование
$Yandex_Presenter = new Yandex_Presenter(); // use class methods
Методы
Код Yandex_Presenter{} Yandex Presenter{} Yoast 15.6.2
class Yandex_Presenter extends Abstract_Indexable_Tag_Presenter {
/**
* The tag format including placeholders.
*
* @var string
*/
protected $tag_format = '<meta name="yandex-verification" content="%s" />';
/**
* Retrieves the webmaster tool site verification value from the settings.
*
* @return string $verification_value The webmaster tool site verification value.
*/
public function get() {
return $this->helpers->options->get( 'yandexverify', '' );
}
}