rest_prepare_status

rest_prepare_status

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('rest_prepare_status') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php line 285
    		 * @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