Automattic\WooCommerce\Admin\Features\ProductBlockEditor
BlockRegistry::__construct()
Constructor
Метод класса: BlockRegistry{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->__construct();
Код BlockRegistry::__construct() BlockRegistry:: construct WC 9.7.1
protected function __construct() { add_filter( 'block_categories_all', array( $this, 'register_categories' ), 10, 2 ); $this->register_product_blocks(); }