Automattic\WooCommerce\Admin\Marketing
InstalledExtensions::get_allowed_plugins() public WC 1.0
Get allowed plugins.
{} Это метод класса: InstalledExtensions{}
Хуков нет.
Возвращает
Массив
. Null. Ничего.
Использование
$result = InstalledExtensions::get_allowed_plugins();
Код InstalledExtensions::get_allowed_plugins() InstalledExtensions::get allowed plugins WC 5.2.0
public static function get_allowed_plugins() {
return [
'automatewoo',
'mailchimp-for-woocommerce',
'creative-mail-by-constant-contact',
'facebook-for-woocommerce',
'kliken-marketing-for-google',
'hubspot-for-woocommerce',
'woocommerce-amazon-ebay-integration',
];
}