WPSEO_Import_WooThemes_SEO::cleanup_options()privateYoast 1.0

Removes the Woo Options from the database.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

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

Код WPSEO_Import_WooThemes_SEO::cleanup_options() Yoast 22.4

private function cleanup_options() {
	foreach ( $this->cleanup_options as $option ) {
		delete_option( $option );
	}
}