WPSEO_Import_WooThemes_SEO::cleanup_options()
Removes the Woo Options from the database.
Метод класса: WPSEO_Import_WooThemes_SEO{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
// private - только в коде основоного (родительского) класса $result = $this->cleanup_options();
Код WPSEO_Import_WooThemes_SEO::cleanup_options() WPSEO Import WooThemes SEO::cleanup options Yoast 22.4
private function cleanup_options() { foreach ( $this->cleanup_options as $option ) { delete_option( $option ); } }