Automattic\WooCommerce\Internal\Admin

WCAdminSharedSettings::__construct()protectedWC 1.0

Hook into WooCommerce Blocks.

Method of the class: WCAdminSharedSettings{}

No Hooks.

Return

null. Nothing (null).

Usage

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

WCAdminSharedSettings::__construct() code WC 8.7.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 );
	}
}