Snippets: Don’t Load Google Font Stylesheets

If you want to be able to define Google fonts in your theme but not have the actual fonts loaded on the site (for example if you are using the OMFG Plugin to store your Google fonts locally you can use the code below to completely disable the loading of Google fonts in Total.

add_filter( 'wpex_enqueue_google_font', '__return_false' );
All PHP snippets should be added via a child theme's functions.php file.