Automattic\WooCommerce\Internal\Admin

WCAdminSharedSettings::__construct()protectedWC 1.0

Hook into WooCommerce Blocks.

Method of the class: WCAdminSharedSettings{}

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->__construct();

WCAdminSharedSettings::__construct() code WC 7.1.0

protected function __construct() {
	if ( did_action( 'woocommerce_blocks_loaded' ) ) {
		$this->on_woocommerce_blocks_loaded();
	} else {
		add_action( 'woocommerce_blocks_loaded', array( $this, 'on_woocommerce_blocks_loaded' ), 10 );
	}
}