mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-30 13:08:26 +01:00
dae5923c1d
See [34930], #33982. Built from https://develop.svn.wordpress.org/trunk@34954 git-svn-id: http://core.svn.wordpress.org/trunk@34919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
27 lines
579 B
PHP
27 lines
579 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_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' );
|