File: /var/www/html/wptoho/wp-content/themes/themify-ultra/skins/author/functions.php
<?php
/**
* Custom functions specific to the skin
*
* @package Themify Ultra
*/
/**
* Load Google web fonts required for the skin
*
* @since 1.4.9
* @return array
*/
function themify_theme_author_google_fonts( $fonts ) {
if ( 'off' !== _x( 'on', 'Lora : on or off', 'themify' ) ) {
$fonts['lora'] = 'Lora:400,400i,500,600,700';
}
if ( 'off' !== _x( 'on', 'Poppins font: on or off', 'themify' ) ) {
$fonts['poppins'] = 'Poppins:300,400,500,600,700';
}
return $fonts;
}
add_filter( 'themify_google_fonts', 'themify_theme_author_google_fonts' );