WordPress at a glance
function is not described


ShippingLabelBanner::get_shipping_banner_allowed_plugins() public WC 1.0

Gets an array of plugins that can be installed & activated via shipping label prompt.

{} It's a method of the class: ShippingLabelBanner{}

No Hooks.


Array. Nothing.


$result = ShippingLabelBanner::get_shipping_banner_allowed_plugins( $plugins );
$plugins(array) (required)
Array of plugin slugs to be allowed.

Code of ShippingLabelBanner::get_shipping_banner_allowed_plugins() WC 5.3.0

public static function get_shipping_banner_allowed_plugins( $plugins ) {
	$shipping_banner_plugins = array(
		'woocommerce-services' => 'woocommerce-services/woocommerce-services.php',
	return array_merge( $plugins, $shipping_banner_plugins );