Automattic\WooCommerce\Admin\Features\ProductBlockEditor

BlockRegistry::__construct()protectedWC 1.0

Constructor

Method of the class: BlockRegistry{}

No Hooks.

Return

null. Nothing (null).

Usage

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

BlockRegistry::__construct() code WC 9.2.3

protected function __construct() {
	add_filter( 'block_categories_all', array( $this, 'register_categories' ), 10, 2 );
	$this->register_product_blocks();
}