<?php
/**
 * Wrapper for taxonomy-portfolio_categories.php
 * Loads pro version if premium code is available, otherwise loads free version.
 */
if ( function_exists( 'wp_fs' ) && wp_fs()->can_use_premium_code() ) {
    if ( file_exists( get_template_directory() . '/pro/taxonomy-portfolio_categories.php' ) ) {
        require get_template_directory() . '/pro/taxonomy-portfolio_categories.php';
    } else {
        require get_template_directory() . '/free/taxonomy-portfolio_categories.php';
    }
} else {
    if ( file_exists( get_template_directory() . '/free/taxonomy-portfolio_categories.php' ) ) {
        require get_template_directory() . '/free/taxonomy-portfolio_categories.php';
    }
}