# wp-parsely/3.24.3/src/rest-api/content-helper/class-content-helper-controller.php

Parse.ly, version 3.24.3. 52 lines.

- Page: https://pluginprobe.com/plugins/wp-parsely/3.24.3/code/src/rest-api/content-helper/class-content-helper-controller.php
- Raw: https://pluginprobe.com/plugins/wp-parsely/3.24.3/raw/src/rest-api/content-helper/class-content-helper-controller.php
- Modified: 2025-07-08T13:46:50+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/wp-parsely/3.24.3/code/src/rest-api/content-helper/class-content-helper-controller.php#L10-L20`.

```php
<?php
/**
 * API Content Intelligence Controller
 *
 * @package Parsely
 * @since   3.17.0
 */

declare(strict_types=1);

namespace Parsely\REST_API\Content_Helper;

use Parsely\REST_API\REST_API_Controller;

/**
 * The Content Intelligence API Controller.
 *
 * Used to define the namespace, version, and endpoints for the Content
 * Intelligence API.
 *
 * @since 3.17.0
 */
class Content_Helper_Controller extends REST_API_Controller {
	/**
	 * Gets the prefix for this API route.
	 *
	 * @since 3.17.0
	 *
	 * @return string The namespace.
	 */
	public static function get_route_prefix(): string {
		return 'content-helper';
	}

	/**
	 * Initializes the Content Intelligence API endpoints.
	 *
	 * @since 3.17.0
	 */
	public function init(): void {
		$endpoints = array(
			new Endpoint_Check_Auth( $this ),
			new Endpoint_Smart_Linking( $this ),
			new Endpoint_Excerpt_Generator( $this ),
			new Endpoint_Title_Suggestions( $this ),
			new Endpoint_Traffic_Boost( $this ),
		);

		$this->register_endpoints( $endpoints );
	}
}

```
