jetpack_google_fonts_api_url
jetpack_google_fonts_api_url
Appears in: jetpack.11.8, jetpack.11.8.4, jetpack.11.9, jetpack.11.9.1, jetpack.12.0, jetpack.12.1, jetpack.12.1.1, jetpack.12.2.1, jetpack.12.3, jetpack.12.5, jetpack.12.6, jetpack.12.6.1, jetpack.12.7.1, jetpack.12.8, jetpack.12.8.1, jetpack.12.9, jetpack.12.9.3, jetpack.13.0, jetpack.13.1.1, jetpack.13.1.3, jetpack.13.2, jetpack.13.2.1
Hook Type: filter
Displaying hooks found in version: jetpack.13.2.1apply_filters('jetpack_google_fonts_api_url') is found 2 times:
- /jetpack_vendor/automattic/jetpack-google-fonts-provider/src/class-google-fonts-provider.php line 164
* @since 0.4.0 * * @param string $url The Google Fonts API URL. */ $root_url = \esc_url( apply_filters( 'jetpack_google_fonts_api_url', $this->root_url ) ); /* * Iterate over each font-family group to build the Google Fonts API URL * for that specific family. Each is added to the collection of URLs to be * returned to the `get_css()` method for making the remote request. */
- /modules/google-fonts/current/load-google-fonts.php line 42
// Replace the google fonts api url if the custom one is provided. $custom_google_fonts_api_url = \esc_url( /** This filter is documented in projects/packages/google-fonts-provider/src/class-google-fonts-provider.php */ apply_filters( 'jetpack_google_fonts_api_url', $default_google_fonts_api_url ) ); if ( $custom_google_fonts_api_url !== $default_google_fonts_api_url ) { foreach ( $data['fontFamilies'] as &$font_family ) { foreach ( $font_family['fontFace'] as &$font_face ) { $font_face['src'] = str_replace( $default_google_fonts_api_url,