WPSEO_Import_WooThemes_SEO::cleanup_meta
Removes the post meta fields from the database.
Метод класса: WPSEO_Import_WooThemes_SEO{}
Хуков нет.
Возвращает
true|false. Cleanup status.
Использование
// private - только в коде основоного (родительского) класса $result = $this->cleanup_meta();
Код WPSEO_Import_WooThemes_SEO::cleanup_meta() WPSEO Import WooThemes SEO::cleanup meta Yoast 26.7
private function cleanup_meta() {
foreach ( $this->cleanup_metas as $key ) {
$result = $this->cleanup_meta_key( $key );
if ( ! $result ) {
return false;
}
}
return true;
}