Automattic\WooCommerce\Internal\Admin

ShippingLabelBanner::__construct()publicWC 1.0

Constructor

Метод класса: ShippingLabelBanner{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of ShippingLabelBanner::__construct() WC 7.1.0

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