In this article

filter

pre_jetpack_get_google_fonts_data

Filters the Google Fonts data before the default retrieval process. This filter allows short-circuiting the default Google Fonts data retrieval process. Returning a non-null value from this filter will bypass the default retrieval and return the filtered value instead.

Parameters

$pre
(null | array)

The pre-filtered Google Fonts data, default null.

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.