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



rest_prepare_wp_font_family › WordPress Filter Hooks

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

Filters the font family data for a REST API response.





Source

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