Changeset 37490 for trunk/src/wp-includes/rest-api/class-wp-rest-server.php
- Timestamp:
- 05/22/2016 06:07:31 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r37163 r37490 252 252 253 253 /** 254 * Filter whether the REST API is enabled.254 * Filters whether the REST API is enabled. 255 255 * 256 256 * @since 4.4.0 … … 261 261 262 262 /** 263 * Filter whether jsonp is enabled.263 * Filters whether jsonp is enabled. 264 264 * 265 265 * @since 4.4.0 … … 336 336 337 337 /** 338 * Filter the API response.338 * Filters the API response. 339 339 * 340 340 * Allows modification of the response before returning. … … 362 362 363 363 /** 364 * Filter whether the request has already been served.364 * Filters whether the request has already been served. 365 365 * 366 366 * Allow sending the request manually - by returning true, the API result … … 620 620 621 621 /** 622 * Filter the enveloped form of a response.622 * Filters the enveloped form of a response. 623 623 * 624 624 * @since 4.4.0 … … 700 700 701 701 /** 702 * Filter the array of available endpoints.702 * Filters the array of available endpoints. 703 703 * 704 704 * @since 4.4.0 … … 802 802 public function dispatch( $request ) { 803 803 /** 804 * Filter the pre-calculated result of a REST dispatch request.804 * Filters the pre-calculated result of a REST dispatch request. 805 805 * 806 806 * Allow hijacking the request before dispatching by returning a non-empty. The returned value … … 887 887 if ( ! is_wp_error( $response ) ) { 888 888 /** 889 * Filter the REST dispatch request result.889 * Filters the REST dispatch request result. 890 890 * 891 891 * Allow plugins to override dispatching the request. … … 983 983 984 984 /** 985 * Filter the API root index data.985 * Filters the API root index data. 986 986 * 987 987 * This contains the data describing the API. This includes information … … 1026 1026 1027 1027 /** 1028 * Filter the namespace index data.1028 * Filters the namespace index data. 1029 1029 * 1030 1030 * This typically is just the route data for the namespace, but you can … … 1060 1060 1061 1061 /** 1062 * Filter the REST endpoint data.1062 * Filters the REST endpoint data. 1063 1063 * 1064 1064 * @since 4.4.0 … … 1070 1070 1071 1071 /** 1072 * Filter the publicly-visible data for routes.1072 * Filters the publicly-visible data for routes. 1073 1073 * 1074 1074 * This data is exposed on indexes and can be used by clients or
Note: See TracChangeset
for help on using the changeset viewer.