wpseek.com
A WordPress-centric search engine for devs and theme authors



rest_prepare_font_collection › WordPress Filter Hooks

Since6.5.0
Deprecatedn/a
apply_filters( 'rest_prepare_font_collection', $response, $item, $request )
Parameters: (3)
  • (WP_REST_Response) $response The response object.
    Required: Yes
  • (WP_Font_Collection) $item The font collection object.
    Required: Yes
  • (WP_REST_Request) $request Request used to generate the response.
    Required: Yes
Defined at:
Codex:

Filters the font collection data for a REST API response.





Source

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