WordPress/wp-includes/rest-api.php

30 lines
684 B
PHP

<?php
/**
* REST API functions.
*
* @package WordPress
* @subpackage REST_API
*/
/**
* Version number for our API.
*
* @var string
*/
define( 'REST_API_VERSION', '2.0' );
/** WP_REST_Server class */
require_once( ABSPATH . WPINC . '/rest-api/class-wp-rest-server.php' );
/** WP_HTTP_Response class */
require_once( ABSPATH . WPINC . '/rest-api/class-wp-http-response.php' );
/** WP_REST_Response class */
require_once( ABSPATH . WPINC . '/rest-api/class-wp-rest-response.php' );
/** WP_REST_Request class */
require_once( ABSPATH . WPINC . '/rest-api/class-wp-rest-request.php' );
/** REST functions */
require_once( ABSPATH . WPINC . '/rest-api/rest-functions.php' );