# learnpress/4.4.10/inc/jwt/rest-api/version1/class-lp-rest-course-category-v1-controller.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.4.10. 20 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.4.10/code/inc/jwt/rest-api/version1/class-lp-rest-course-category-v1-controller.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.4.10/raw/inc/jwt/rest-api/version1/class-lp-rest-course-category-v1-controller.php
- Modified: 2026-10-09T07:39:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/learnpress/4.4.10/code/inc/jwt/rest-api/version1/class-lp-rest-course-category-v1-controller.php#L10-L20`.

```php
<?php
class LP_Jwt_Course_Category_V1_Controller extends WP_REST_Terms_Controller {

	protected $taxonomy = 'course_category';

	public function __construct() {
		parent::__construct( $this->taxonomy );

		$this->namespace = 'learnpress/v1';
		$this->rest_base = 'course_category';
	}

	/**
	 * Register routes for courses.
	 */
	public function register_routes() {
		parent::register_routes();
	}
}

```
