apply_filters( ‘rest_prepare_font_collection’, WP_REST_Response $response, WP_Font_Collection $item, WP_REST_Request $request )

In this article

Filters the font collection data for a REST API response.

Parameters

$responseWP_REST_Response
The response object.
$itemWP_Font_Collection
The font collection object.
$requestWP_REST_Request
Request used to generate the response.

Source

return apply_filters( 'rest_prepare_font_collection', $response, $item, $request );

Changelog

VersionDescription
6.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.