<?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_construction_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', 'Public Sans font: on or off', 'themify' ) ) {
		$fonts['open-sans'] = 'Public+Sans:300,400,400i,600,600i,700,700i,800,800i';
	}
	if ( 'off' !== _x( 'on', 'Oswald font: on or off', 'themify' ) ) {
		$fonts['oswald'] = 'Oswald:200,300,400,700';
	}
	return $fonts;
}
add_filter( 'themify_google_fonts', 'themify_theme_construction_google_fonts' );