Changeset 43582 for trunk/src/wp-includes/rest-api/class-wp-rest-server.php
- Timestamp:
- 08/27/2018 02:27:22 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r43571 r43582 905 905 * @since 4.7.0 906 906 * 907 * @param WP_HTTP_Response $response Result to send to the client. Usually a WP_REST_Response.908 * @param WP_REST_Server $handler ResponseHandler instance (usually WP_REST_Server).909 * @param WP_REST_Request $request Request used to generate the response.907 * @param WP_HTTP_Response|WP_Error $response Result to send to the client. Usually a WP_REST_Response or WP_Error. 908 * @param array $handler Route handler used for the request. 909 * @param WP_REST_Request $request Request used to generate the response. 910 910 */ 911 911 $response = apply_filters( 'rest_request_before_callbacks', $response, $handler, $request ); … … 933 933 * @since 4.5.0 Added `$route` and `$handler` parameters. 934 934 * 935 * @param bool$dispatch_result Dispatch result, will be used if not empty.935 * @param mixed $dispatch_result Dispatch result, will be used if not empty. 936 936 * @param WP_REST_Request $request Request used to generate the response. 937 937 * @param string $route Route matched for the request. … … 964 964 * @since 4.7.0 965 965 * 966 * @param WP_HTTP_Response $response Result to send to the client. Usually a WP_REST_Response.967 * @param WP_REST_Server $handler ResponseHandler instance (usually WP_REST_Server).968 * @param WP_REST_Request $request Request used to generate the response.966 * @param WP_HTTP_Response|WP_Error $response Result to send to the client. Usually a WP_REST_Response or WP_Error. 967 * @param array $handler Route handler used for the request. 968 * @param WP_REST_Request $request Request used to generate the response. 969 969 */ 970 970 $response = apply_filters( 'rest_request_after_callbacks', $response, $handler, $request );
Note: See TracChangeset
for help on using the changeset viewer.