Yoast\WP\SEO\Actions\Importing

Deactivate_Conflicting_Plugins_Action::get_detected_plugins()protectedYoast 1.0

Returns all detected plugins.

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

Хуков нет.

Возвращает

Массив. The detected plugins.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_detected_plugins();

Код Deactivate_Conflicting_Plugins_Action::get_detected_plugins() Yoast 22.4

protected function get_detected_plugins() {
	// The active plugins won't change much. We can reuse the result for the duration of the request.
	if ( \count( $this->detected_plugins ) < 1 ) {
		$this->detected_plugins = $this->conflicting_plugins->detect_conflicting_plugins();
	}
	return $this->detected_plugins;
}