rest_prepare_font_collection

rest_prepare_font_collection

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.3

apply_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