Advertisement
fahimmurshed

Remove Google Fonts from Astra Theme

Apr 15th, 2020 (edited)
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.22 KB | None | 0 0
  1. /**
  2. * Remove Google Fonts
  3. * Fahim Murshed https://fahimm.com
  4. */
  5. add_filter( 'astra_google_fonts', '__return_empty_array' );
  6.  
  7. // Another Tips
  8. add_filter('astra_google_fonts_selected', function($fonts) {
  9.     return [];
  10. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement