Automattic\WooCommerce\Admin\Features\ProductBlockEditor
BlockRegistry::__construct
Constructor
Method of the class: BlockRegistry{}
No Hooks.
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->__construct();
BlockRegistry::__construct() BlockRegistry:: construct code WC 10.9.1
protected function __construct() {
add_filter( 'block_categories_all', array( $this, 'register_categories' ), 10, 2 );
$this->register_product_blocks();
}