Changeset 37490
- Timestamp:
- 05/22/2016 06:07:31 PM (10 years ago)
- Location:
- trunk/src/wp-includes/rest-api
- Files:
-
- 3 edited
-
class-wp-rest-request.php (modified) (2 diffs)
-
class-wp-rest-response.php (modified) (1 diff)
-
class-wp-rest-server.php (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-request.php
r37342 r37490 374 374 375 375 /** 376 * Filter the parameter order.376 * Filters the parameter order. 377 377 * 378 378 * The order affects which parameters are checked when using get_param() and family. … … 971 971 972 972 /** 973 * Filter the request generated from a URL.973 * Filters the request generated from a URL. 974 974 * 975 975 * @since 4.5.0 -
trunk/src/wp-includes/rest-api/class-wp-rest-response.php
r37431 r37490 276 276 277 277 /** 278 * Filter extra CURIEs available on API responses.278 * Filters extra CURIEs available on API responses. 279 279 * 280 280 * CURIEs allow a shortened version of URI relations. This allows a more -
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.