WPSEO_Import_Platinum_SEO::cleanup()protectedYoast 1.0

Cleans up all the meta values Platinum SEO pack creates.

Метод класса: WPSEO_Import_Platinum_SEO{}

Хуков нет.

Возвращает

true|false.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->cleanup();

Код WPSEO_Import_Platinum_SEO::cleanup() Yoast 22.3

protected function cleanup() {
	$this->meta_key = 'title';
	parent::cleanup();

	$this->meta_key = 'description';
	parent::cleanup();

	$this->meta_key = 'metarobots';
	parent::cleanup();

	return true;
}