• File: class-endpoint.php
  • Full Path: /home/matthif/www/wp-content/plugins/wordpress-seo/admin/endpoints/class-endpoint.php
  • Date Modified: 02/24/2024 11:29 PM
  • File size: 471 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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();
}