File: /var/www/html/wptoho/wp-content/themes/themify-ultra/skins/wedding/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_wedding_google_fonts( $fonts ) {
/* translators: If there are characters in your language that are not supported by this font, translate this to 'off'. Do not translate into your own language. */
if ( 'off' !== _x( 'on', 'Playfair Display font: on or off', 'themify' ) ) {
$fonts['playfair-display'] = 'Playfair+Display:400,400i,700,700i,900,900i';
}
/* translators: If there are characters in your language that are not supported by this font, translate this to 'off'. Do not translate into your own language. */
if ( 'off' !== _x( 'on', 'Josefin Sans font: on or off', 'themify' ) ) {
$fonts['josefin-sans'] = 'Josefin+Sans:400,600,700';
}
/* translators: If there are characters in your language that are not supported by this font, translate this to 'off'. Do not translate into your own language. */
if ( 'off' !== _x( 'on', 'Josefin Slab font: on or off', 'themify' ) ) {
$fonts['josefin-slab'] = 'Josefin+Slab:400,600,700';
}
return $fonts;
}
add_filter( 'themify_google_fonts', 'themify_theme_wedding_google_fonts' );