WC_Email::get_theme_template_file()publicWC 1.0

Get the template file in the current theme.

Метод класса: WC_Email{}

Хуки из метода

Возвращает

Строку.

Использование

$WC_Email = new WC_Email();
$WC_Email->get_theme_template_file( $template );
$template(строка) (обязательный)
Template name.

Код WC_Email::get_theme_template_file() WC 8.7.0

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