stuart-d
11/20/2012 - 5:20 PM

Add More Google Fonts

Add More Google Fonts

// add the function to the init hook
add_action( 'init', 'woo_add_googlefonts', 20 );
 
// add a font to the $google_fonts variable
function woo_add_googlefonts () {
    global $google_fonts;
    $google_fonts[] = array( 'name' => 'Lustria', 'variant' => ':r,b,i,bi');
}