# Stop Elementor From Loading Google Fonts

> Prevents Elementor from requesting fonts from Google's servers, for faster pages and fewer third-party connections.

- Type: PHP
- Runs: Run everywhere
- Category: [Performance](https://wpide.com/library/category/performance/)
- Tags: performance, fonts, elementor
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/elementor-no-google-fonts/

## Code

```php
add_filter( 'elementor/frontend/print_google_fonts', '__return_false' );
```

## Notes

Elementor designs fall back to system fonts unless you upload them as custom fonts (no effect without Elementor).

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Stop Elementor 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/
