Yoast\WP\SEO\Plans\Application
Duplicate_Post_Manager::is_installed
Checks if the plugin is installed in WordPress.
Метод класса: Duplicate_Post_Manager{}
Хуков нет.
Возвращает
bool. True when installed.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->is_installed();
Код Duplicate_Post_Manager::is_installed() Duplicate Post Manager::is installed Yoast 28.9
protected function is_installed() {
return \file_exists( \WP_PLUGIN_DIR . '/' . self::PLUGIN_FILE );
}