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.

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

Хуков нет.

Возвращает

Строку[]. Plugin names relative to the root plugins directory.

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

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

Код PluginUtil::get_plugins_excluded_from_compatibility_ui() WC 9.8.5

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