Automattic\WooCommerce\Admin\Features\ProductBlockEditor
BlockRegistry::get_instance()
Get the singleton instance.
Метод класса: BlockRegistry{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$result = BlockRegistry::get_instance(): BlockRegistry;
Код BlockRegistry::get_instance() BlockRegistry::get instance WC 9.4.2
public static function get_instance(): BlockRegistry { if ( ! self::$instance ) { self::$instance = new self(); } return self::$instance; }