WordPress/wp-includes/rest-api.php

27 lines
591 B
PHP
Raw Normal View History

<?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/lib/class-wp-rest-server.php' );
/** WP_REST_Response class */
require_once( ABSPATH . WPINC . '/rest-api/lib/class-wp-rest-response.php' );
/** WP_REST_Request class */
require_once( ABSPATH . WPINC . '/rest-api/lib/class-wp-rest-request.php' );
/** REST functions */
require_once( ABSPATH . WPINC . '/rest-api/rest-functions.php' );