How to Add a New Google Font?

Description The cp_add_google_fonts filter allows adding Google font to existing Google font list. Usage // Filter callback function function example_callback( $fonts ) { // update fonts here return $fonts; } add_filter( ‘cp_add_google_fonts’, ‘example_callback’, 10 ); Parameters $fonts: (array) array of existing fonts Example /** * Add Google Font “Mogra” to existing font list * * […]

How to Add a New Google Font? Read More »