WordPress at Your Fingertips
function is not described

WC_Email::get_theme_template_file() public WC 1.0

Get the template file in the current theme.

{} It's a method of the class: WC_Email{}

Hooks from the method

Return

String.

Usage

$WC_Email = new WC_Email();
$WC_Email->get_theme_template_file( $template );
$template(string) (required)
Template name.

Code of WC_Email::get_theme_template_file() WC 5.9.0

public function get_theme_template_file( $template ) {
	return get_stylesheet_directory() . '/' . apply_filters( 'woocommerce_template_directory', 'woocommerce', $template ) . '/' . $template;
}