WPSEO_Import_SEO_Framework::cleanup()
Removes all the metadata set by the SEO Framework plugin.
Метод класса: WPSEO_Import_SEO_Framework{}
Хуков нет.
Возвращает
true|false
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->cleanup();
Код WPSEO_Import_SEO_Framework::cleanup() WPSEO Import SEO Framework::cleanup Yoast 24.4
protected function cleanup() { $set1 = parent::cleanup(); $this->meta_key = '_social_image_%'; $set2 = parent::cleanup(); $this->meta_key = '_twitter_%'; $set3 = parent::cleanup(); $this->meta_key = '_open_graph_%'; $set4 = parent::cleanup(); return ( $set1 || $set2 || $set3 || $set4 ); }