Filters the font collection data for a REST API response.
$responseWP_REST_Response$itemWP_Font_Collection$requestWP_REST_Requestwp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php:205WP_REST_Font_Collections_Controller::prepare_item_for_response() * @since 6.5.0 * * @param WP_REST_Response $response The response object. * @param WP_Font_Collection $item The font collection object. * @param WP_REST_Request $request Request used to generate the response. */ return apply_filters( 'rest_prepare_font_collection', $response, $item, $request ); } /** * Retrieves the font collection's schema, conforming to JSON Schema. * * @since 6.5.0Introduced in 6.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.