Skip to content

Instantly share code, notes, and snippets.

@wplit
Created September 10, 2018 23:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wplit/4b904c81c2dcbff290fd907bfdddf3cc to your computer and use it in GitHub Desktop.
Save wplit/4b904c81c2dcbff290fd907bfdddf3cc to your computer and use it in GitHub Desktop.
Remove Google Fonts from Oxygen Builder
// Remove Google Fonts from Oxygen
remove_action('wp_head', 'add_web_font',0);
@DrZivil
Copy link

DrZivil commented Apr 1, 2022

The Hook in Oxygen has changed to oxygen_enqueue_frontend_scripts

remove_action('oxygen_enqueue_frontend_scripts', 'add_web_font',0);

found in File component-init.php:4344 in Version 3.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment