-
-
Save timbocode/62b21ea425a48375ea4db2e94b6eba40 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function template_path() { | |
$templatepath = file_exists( get_stylesheet_directory() . '/classic-commerce/' ) ? 'classic-commerce/' : 'woocommerce/'; | |
return apply_filters( 'woocommerce_template_path', $templatepath ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment