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



rest_prepare_wp_font_face › WordPress Filter Hooks

Since6.5.0
Deprecatedn/a
apply_filters( 'rest_prepare_wp_font_face', $response, $item, $request )
Parameters: (3)
  • (WP_REST_Response) $response The response object.
    Required: Yes
  • (WP_Post) $post Font face post object.
    Required: Yes
  • (WP_REST_Request) $request Request object.
    Required: Yes
Defined at:
Codex:

Filters the font face data for a REST API response.





Source

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