Home › Forums › Support › PHP Notices This topic has 19 replies, 3 voices, and was last updated 3 years, 3 months ago by Tom. Viewing 5 posts - 16 through 20 (of 20 total) ← 1 2 Author Posts December 7, 2019 at 7:24 pm #1097479 TomLead Developer Lead Developer Any other filters? Specifically dealing with Google fonts? Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development December 8, 2019 at 4:02 am #1097648 Kim Hi Tom, just went through the snipptes and found this one: add_action( 'admin_init', 'tu_remove_google_fonts_customizer' ); function tu_remove_google_fonts_customizer() { add_filter( 'generate_google_fonts_array', '__return_false' ); } December 8, 2019 at 10:13 am #1097959 TomLead Developer Lead Developer That’s the one, try this instead: add_action( 'admin_init', 'tu_remove_google_fonts_customizer' ); function tu_remove_google_fonts_customizer() { add_filter( 'generate_google_fonts_array', '__return_empty_array' ); } Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development December 10, 2019 at 8:25 pm #1100526 Kim Awesome! Many thanks ๐ December 11, 2019 at 9:11 am #1101230 TomLead Developer Lead Developer No problem ๐ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development Author Posts Viewing 5 posts - 16 through 20 (of 20 total) ← 1 2 You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In