# wordpress-seo/19.0/admin/endpoints/class-endpoint.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version 19.0. 27 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/19.0/code/admin/endpoints/class-endpoint.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/19.0/raw/admin/endpoints/class-endpoint.php
- Modified: 2018-03-20T16:19:04+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/wordpress-seo/19.0/code/admin/endpoints/class-endpoint.php#L10-L20`.

```php
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin\Endpoints
 */

/**
 * Dictates the required methods for an Endpoint implementation.
 */
interface WPSEO_Endpoint {

	/**
	 * Registers the routes for the endpoints.
	 *
	 * @return void
	 */
	public function register();

	/**
	 * Determines whether or not data can be retrieved for the registered endpoints.
	 *
	 * @return bool Whether or not data can be retrieved.
	 */
	public function can_retrieve_data();
}

```
