# Stop Beaver Builder From Loading Google Fonts

> Prevents Beaver Builder modules from requesting fonts from Google, for privacy (GDPR) and faster pages.

- Type: PHP
- Runs: Frontend only
- Category: [Page Builders & Themes](https://wpide.com/library/category/page-builders/)
- Tags: beaver-builder, fonts, privacy, performance
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/beaver-builder-disable-google-fonts/

## Code

```php
add_filter( 'fl_builder_google_fonts_pre_enqueue', function () {
    return array();
} );
```

## Notes

Modules set to a Google font fall back to the next font in the stack; add your own fonts with "Add System Fonts to Beaver Builder".

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Stop Beaver Builder From Loading Google Fonts" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
