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.

Returns

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 9.8.5

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