wordpress/wp-content/themes/basic/themify/themify-template-tags.php
/**
 * Returns current active theme skin name, false if no skin is active
 *
 * @return string|bool
 */
Returns current active theme skin name, false if no skin is active
@return string|bool
Returns current active theme skin name false if no skin is active @return string|bool
function themify_get_skin() {
    static $skin = null;
    if ( $skin === null ) {
		$value = themify_get( 'skin', 'default', true );
		if ( filter_var( $value, FILTER_VALIDATE_URL ) ) {
			$parsed_skin = parse_url( $value, PHP_URL_PATH );
			$value = basename( dirname( $parsed_skin ) );
		}
		if ( 'default' !== $value && is_file( get_template_directory() . "/skins/{$value}/style.css" ) ) {
			$skin = $value;
		} else {
			$skin = false;
		}
    }
    return $skin;
}
function themify_get_skin ( ) { static $ skin = null ; if ( $ skin === null ) { $ value = themify_get ( 'skin' , 'default' , true ) ; if ( filter_var ( $ value , FILTER_VALIDATE_URL ) ) { $ parsed_skin = parse_url ( $ value , PHP_URL_PATH ) ; $ value = basename ( dirname ( $ parsed_skin ) ) ; } if ( 'default' !== $ value && is_file ( get_template_directory ( ) . " /skins/ { $ value } /style.css " ) ) { $ skin = $ value ; } else { $ skin = false ; } } return $ skin ; }
Returns current active theme skin name, false if no skin is active
 @return string|bool
Returns current active theme skin name false if no skin is active @return string|bool
/* backward compatibility, "skin" used to be saved as a URL */