Changeset 47849 for trunk/src/wp-includes/rest-api/class-wp-rest-server.php
- Timestamp:
- 05/23/2020 02:34:38 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r47351 r47849 970 970 * @since 4.7.0 971 971 * 972 * @param WP_ HTTP_Response|WP_Error$response Result to send to the client. Usually a WP_REST_Response or WP_Error.973 * @param array $handler Route handler used for the request.974 * @param WP_REST_Request $request Request used to generate the response.972 * @param WP_REST_Response|WP_HTTP_Response|WP_Error|mixed $response Result to send to the client. Usually a WP_REST_Response or WP_Error. 973 * @param array $handler Route handler used for the request. 974 * @param WP_REST_Request $request Request used to generate the response. 975 975 */ 976 976 $response = apply_filters( 'rest_request_before_callbacks', $response, $handler, $request ); … … 1033 1033 * @since 4.7.0 1034 1034 * 1035 * @param WP_ HTTP_Response|WP_Error$response Result to send to the client. Usually a WP_REST_Response or WP_Error.1036 * @param array $handler Route handler used for the request.1037 * @param WP_REST_Request $request Request used to generate the response.1035 * @param WP_REST_Response|WP_HTTP_Response|WP_Error|mixed $response Result to send to the client. Usually a WP_REST_Response or WP_Error. 1036 * @param array $handler Route handler used for the request. 1037 * @param WP_REST_Request $request Request used to generate the response. 1038 1038 */ 1039 1039 $response = apply_filters( 'rest_request_after_callbacks', $response, $handler, $request );
Note: See TracChangeset
for help on using the changeset viewer.