rest_prepare_status – filter

Filters a post status returned from the REST API. Allows modification of the status data right before it is returned.

Parameters

.
( 4.7.0 ) . .
$response
( WP_REST_Response ) The response object. . . .
( object ) $status The original post status object. . . .
( WP_REST_Request ) $request Request used to generate the response. . . .
API Letters: ,,

Implementers