WordPress Astra主题 禁用 google 字体(非插件)

To disable loading Google Fonts by the Astra Theme, add this code to your child themes function.php:

add_filter('astra_google_fonts_selected', function($fonts) {
    return [];
});