Add New Google Fonts To The Typography Font List

The theme doesn't include every single Google font that exists because we don't update it dynamically, this is to keep your site fast and prevent it from having to connect to the Google API. We can add new fonts with updates but you can also add new ones like this.

function my_new_fonts( $array ) {
    $array[] = 'Poppins';
    return $array;
}
add_filter( 'ocean_google_fonts_array', 'my_new_fonts' );

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