28 lines
595 B
PHP
28 lines
595 B
PHP
<?php
|
|
|
|
namespace Yoast\WP\SEO\Presenters\Webmaster;
|
|
|
|
use Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter;
|
|
|
|
/**
|
|
* Presenter class for the Yandex Webmaster verification setting.
|
|
*/
|
|
class Yandex_Presenter extends Abstract_Indexable_Tag_Presenter {
|
|
|
|
/**
|
|
* The tag key name.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $key = 'yandex-verification';
|
|
|
|
/**
|
|
* Retrieves the webmaster tool site verification value from the settings.
|
|
*
|
|
* @return string The webmaster tool site verification value.
|
|
*/
|
|
public function get() {
|
|
return $this->helpers->options->get( 'yandexverify', '' );
|
|
}
|
|
}
|