Automattic\WooCommerce\Internal\Admin
WCAdminSharedSettings::__construct()
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() WCAdminSharedSettings:: construct code WC 9.7.1
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 ); } }