ldc-sbv/pole-sbv-content/plugins/wordpress-seo/admin/endpoints/class-endpoint.php

27 lines
471 B
PHP
Raw Normal View History

2017-11-10 11:45:43 +01:00
<?php
/**
2018-04-16 15:29:38 +02:00
* WPSEO plugin file.
*
2017-11-10 11:45:43 +01:00
* @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();
}