<?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_interior_google_fonts( $fonts ) {
	if ( 'off' !== _x( 'on', 'Public Sans: on or off', 'themify' ) ) {
		$fonts['public-sans'] = 'Public+Sans:400,700';
	}
	if ( 'off' !== _x( 'on', 'Poppins font: on or off', 'themify' ) ) {
		$fonts['poppins'] = 'Poppins:400,500,600,700,800,900';
	}
	return $fonts;
}
add_filter( 'themify_google_fonts', 'themify_theme_interior_google_fonts' );