jetpack_google_fonts_api_url

jetpack_google_fonts_api_url

Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.14.5

apply_filters('jetpack_google_fonts_api_url') is found 1 times:

  • /modules/google-fonts/current/load-google-fonts.php line 68
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
         * @since 12.8
         *
         * @param string $url The Google Fonts API URL.
         */
        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,