Yoast\WP\SEO\Actions\Importing

Deactivate_Conflicting_Plugins_Action::index()publicYoast 1.0

Deactivate conflicting plugins.

Метод класса: Deactivate_Conflicting_Plugins_Action{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$Deactivate_Conflicting_Plugins_Action = new Deactivate_Conflicting_Plugins_Action();
$Deactivate_Conflicting_Plugins_Action->index();

Код Deactivate_Conflicting_Plugins_Action::index() Yoast 19.11

public function index() {
	$detected_plugins = $this->get_detected_plugins();
	$this->conflicting_plugins->deactivate_conflicting_plugins( $detected_plugins );

	// We need to conform to the interface, so we report that no indexables were created.
	return [];
}