Opened 9 hours ago
#48638 new enhancement
Pass WP_REST_Request object to the rest_index filter
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | 4.4 |
| Component: | REST API | Keywords: | needs-patch |
| Focuses: | Cc: | ||
| PR Number: |
Description
The rest_index filter does not have access to the WP_REST_Request object which means we can't easily modify the response depending on the request data provided.
Note: See
TracTickets for help on using
tickets.