Changeset 52796 for trunk/src/wp-includes/rest-api/class-wp-rest-server.php
- Timestamp:
- 02/24/2022 10:34:56 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r52640 r52796 1240 1240 * 1241 1241 * @since 4.4.0 1242 * @since 6.0.0 Added `$request` parameter. 1242 1243 * 1243 1244 * @param WP_REST_Response $response Response data. 1244 */ 1245 return apply_filters( 'rest_index', $response ); 1245 * @param WP_REST_Request $request Request data. 1246 */ 1247 return apply_filters( 'rest_index', $response, $request ); 1246 1248 } 1247 1249
Note: See TracChangeset
for help on using the changeset viewer.