rest_prepare_wp_font_family

rest_prepare_wp_font_family

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.8

apply_filters('rest_prepare_wp_font_family') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-font-families-controller.php line 271
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
         * @param WP_REST_Response $response The response object.
         * @param WP_Post          $post     Font family post object.
         * @param WP_REST_Request  $request  Request object.
         */
        return apply_filters( 'rest_prepare_wp_font_family', $response, $item, $request );
    }
     
    /**
     * Retrieves the post's schema, conforming to JSON Schema.
     *
     * @since 6.5.0