No results found. Try again with different words?

Search must be at least 3 characters.

    How to Disable Google Fonts in the Frontend?

    Many users contacted us with requests to ask whether we can disable Google fonts in the frontend.

    From Convert Pro version 1.2.5, we have made this possible with the use of filters. You can add the following filter in your functions.php file.

    * cp_remove_google_font function to remove google font from frontend
    * @param string $style_id
    * @return bool $load_font
    function cp_remove_google_font( $style_id ) {
    // your custom logic
    $load_font = false;
    return $load_font;
    add_filter( 'cpro_disable_google_font', 'cp_remove_google_font', 10, 1 );

    Was this article helpful?

    Did not find a solution? We are here to help you succeed.

    Related Docs

    Compare Convert Pro with...

    Scroll to Top