Automattic\WooCommerce\Blocks\BlockTypes\ProductCollection
Controller::register_core_collections_and_set_handler_store()
Registers core collections and sets the handler store.
Method of the class: Controller{}
No Hooks.
Return
null
. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->register_core_collections_and_set_handler_store();
Controller::register_core_collections_and_set_handler_store() Controller::register core collections and set handler store code WC 9.6.0
protected function register_core_collections_and_set_handler_store() { // Use HandlerRegistry to register collections. $collection_handler_store = $this->collection_handler_registry->register_core_collections(); $this->query_builder->set_collection_handler_store( $collection_handler_store ); }