Yoast\WP\SEO\Presenters\Webmaster

Pinterest_Presenter()Yoast 1.0

Presenter class for the Pinterest Webmaster verification setting.

Хуков нет.

Использование

$Pinterest_Presenter = new Pinterest_Presenter();
// use class methods

Методы

  1. public get()

Код Pinterest_Presenter() Yoast 20.0

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', '' );
	}
}