Snippets: Add New Google Fonts To The Typography Font List and Total VC Modules

Important: You can now register your own fonts right via the WP admin via the exclusive Total theme Font Manager.

// Add a custom font
add_filter( 'wpex_google_fonts_array', function( $array ) {
    $array[] = 'Rubik';
    return $array;
} );


// Override entire list to slim it down and show only the ones
// you want.
add_filter( 'wpex_google_fonts_array', function( $array ) {
    return array( 'Open Sans', 'Roboto', 'Lobster' );
} );
All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)