rest_prepare_status

rest_prepare_status

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.8

apply_filters('rest_prepare_status') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php line 285
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
         * @param WP_REST_Response $response The response object.
         * @param object           $status   The original post status object.
         * @param WP_REST_Request  $request  Request used to generate the response.
         */
        return apply_filters( 'rest_prepare_status', $response, $status, $request );
    }
     
    /**
     * Retrieves the post status' schema, conforming to JSON Schema.
     *
     * @since 4.7.0