Replace Google Fonts with Bunny Fonts

Created by: antonioleutsch

Rating:
Downloaded: 8k times

Replace Google Fonts with Bunny Fonts in the HTML Markup of your WordPress site.
It also replaces the preconnects with the correct ones.

To disable creating a preconnect to fonts.bunny.net, add the following line to your functions.php:

add_filter('al_bunny_insert_al_bunny_preconnect', '__return_false');

To disable removing the google fonts preconnect, add the following line to your functions.php:

add_filter('al_bunny_remove_google_preconnect', '__return_false');

To disable removing the google fonts dns-prefetch, add the following line to your functions.php:

add_filter('al_bunny_remove_google_prefetch', '__return_false');

Supported Cache Plugins

  • Autoptimize
  • SiteGround Optimizer
  • Swift Performance Lite
  • W3 Total Cache
  • WP Fastest Cache Plugin
  • WP Rocket
  • WP Super Cache

Screenshots

    Categories

    Get New Themes & Resources