Remove all Google Fonts from the typography settings panel

 * Remove all Google font options from the Customizer
function remove_customizer_google_fonts( $fonts ) {
	if ( is_customize_preview() ) {
		$fonts = '';
	return $fonts;
add_filter( 'ocean_google_fonts_array', 'remove_customizer_google_fonts' );

All PHP snippets should be added via a child theme's functions.php file.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.