rest_prepare_font_collection
rest_prepare_font_collection
Appears in: gutenberg.17.6.5, gutenberg.17.7.0, gutenberg.17.8.0, gutenberg.17.8.2, gutenberg.17.9.0, gutenberg.18.2.0, gutenberg.18.5.0, gutenberg.18.6.1, gutenberg.18.7.1, gutenberg.18.9.0, wordpress-6.5, wordpress-6.5.2, wordpress-6.5.3, wordpress-6.5.4, wordpress-6.5.5, wordpress-6.6, wordpress-6.6.1, wordpress-6.6.2, wordpress-6.7
Hook Type: filter
Displaying hooks found in version: wordpress-6.7apply_filters('rest_prepare_font_collection') is found 1 times:
- /wp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php line 205
* @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.0