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