Automattic\WooCommerce\Admin\Marketing
InstalledExtensions::get_allowed_plugins()
Get allowed plugins.
Method of the class: InstalledExtensions{}
No Hooks.
Return
Array
.
Usage
$result = InstalledExtensions::get_allowed_plugins();
InstalledExtensions::get_allowed_plugins() InstalledExtensions::get allowed plugins code 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', ]; }