WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

ShippingLabelBanner::__construct() public WC 1.0

Constructor

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

No Hooks.

Return

null. Nothing.

Usage

$ShippingLabelBanner = new ShippingLabelBanner();
$ShippingLabelBanner->__construct();

Code of ShippingLabelBanner::__construct() WC 5.3.0

<?php
public function __construct() {
	add_filter( 'woocommerce_admin_plugins_whitelist', array( $this, 'get_shipping_banner_allowed_plugins' ), 10, 2 );

	if ( ! is_admin() ) {
		return;
	}
	add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ), 6, 2 );
}