Filters the REST API response for a sidebar.
Parameters
$responseWP_REST_Response- The response object.
$raw_sidebararray- The raw sidebar data.
$requestWP_REST_Request- The request object.
Source
return apply_filters( 'rest_prepare_sidebar', $response, $raw_sidebar, $request );
Changelog
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.