WPSEO_Import_WooThemes_SEO::cleanup()protectedYoast 1.0

Cleans up the WooThemes SEO settings.

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

Хуков нет.

Возвращает

true|false. Cleanup status.

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

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

Код WPSEO_Import_WooThemes_SEO::cleanup() Yoast 22.3

protected function cleanup() {
	$result = $this->cleanup_meta();
	if ( $result ) {
		$this->cleanup_options();
	}
	return $result;
}