Automattic\WooCommerce\StoreApi

RoutesController::register_all_routes()publicWC 1.0

Register all Store API routes. This includes routes under specific version namespaces.

{} Это метод класса: RoutesController{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$RoutesController = new RoutesController();
$RoutesController->register_all_routes();

Код RoutesController::register_all_routes() WC 6.7.0

public function register_all_routes() {
	$this->register_routes( 'v1', 'wc/store' );
	$this->register_routes( 'v1', 'wc/store/v1' );
}