Automattic\WooCommerce\Admin\Features\ProductBlockEditor
BlockRegistry::get_instance()
Get the singleton instance.
Method of the class: BlockRegistry{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = BlockRegistry::get_instance(): BlockRegistry;
BlockRegistry::get_instance() BlockRegistry::get instance code WC 9.2.3
public static function get_instance(): BlockRegistry { if ( ! self::$instance ) { self::$instance = new self(); } return self::$instance; }