Automattic\WooCommerce\Utilities

PluginUtil::get_plugins_excluded_from_compatibility_ui()publicWC 1.0

Get the names of the plugins that are excluded from the feature compatibility UI. These plugins won't be considered as incompatible with any existing feature for the purposes of displaying compatibility warning in UI, even if they declare incompatibilities explicitly.

Method of the class: PluginUtil{}

No Hooks.

Return

String[]. Plugin names relative to the root plugins directory.

Usage

$PluginUtil = new PluginUtil();
$PluginUtil->get_plugins_excluded_from_compatibility_ui();

PluginUtil::get_plugins_excluded_from_compatibility_ui() code WC 8.9.0

public function get_plugins_excluded_from_compatibility_ui() {
	return $this->plugins_excluded_from_compatibility_ui;
}