Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/rest-api/class-wp-rest-server.php | apply_filters | 258 | /** * Filters the JSON encoding options used to send the REST API response. * * @since 6.1.0 * * @param int $options JSON encoding options {@see json_encode()}. * @param WP_REST_Request $request Current request object. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $options | JSON encoding options {@see json_encode()}. |
WP_REST_Request | $request | Current request object. |