WC_Email::get_theme_template_file( string $template )
Get the template file in the current theme.
Description Description
Parameters Parameters
- $template
-
(Required) Template name.
Return Return
(string)
Source Source
File: includes/emails/class-wc-email.php
public function get_theme_template_file( $template ) { return get_stylesheet_directory() . '/' . apply_filters( 'woocommerce_template_directory', 'woocommerce', $template ) . '/' . $template; }