Merged in feature/from-pantheon (pull request #16)
code from pantheon * code from pantheon
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Yoast\WP\SEO\Presenters\Webmaster;
|
||||
|
||||
use Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter;
|
||||
|
||||
/**
|
||||
* Presenter class for the Baidu Webmaster Tools verification setting.
|
||||
*/
|
||||
class Baidu_Presenter extends Abstract_Indexable_Tag_Presenter {
|
||||
|
||||
/**
|
||||
* The tag key name.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $key = 'baidu-site-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( 'baiduverify', '' );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Yoast\WP\SEO\Presenters\Webmaster;
|
||||
|
||||
use Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter;
|
||||
|
||||
/**
|
||||
* Presenter class for the Bing Webmaster verification setting.
|
||||
*/
|
||||
class Bing_Presenter extends Abstract_Indexable_Tag_Presenter {
|
||||
|
||||
/**
|
||||
* The tag key name.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $key = 'msvalidate.01';
|
||||
|
||||
/**
|
||||
* 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( 'msverify', '' );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Yoast\WP\SEO\Presenters\Webmaster;
|
||||
|
||||
use Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter;
|
||||
|
||||
/**
|
||||
* Presenter class for the Google Search Console verification setting.
|
||||
*/
|
||||
class Google_Presenter extends Abstract_Indexable_Tag_Presenter {
|
||||
|
||||
/**
|
||||
* The tag key name.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $key = 'google-site-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( 'googleverify', '' );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Yoast\WP\SEO\Presenters\Webmaster;
|
||||
|
||||
use Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter;
|
||||
|
||||
/**
|
||||
* Presenter class for the Pinterest Webmaster verification setting.
|
||||
*/
|
||||
class Pinterest_Presenter extends Abstract_Indexable_Tag_Presenter {
|
||||
|
||||
/**
|
||||
* The tag key name.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $key = 'p:domain_verify';
|
||||
|
||||
/**
|
||||
* 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( 'pinterestverify', '' );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?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', '' );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user