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