src/Hametuha/HametWoo.php
public function template_fallback( $template, $template_name, $template_path ) {
		if ( ! file_exists( $template ) ) {
			// Woops, no template. Does hametwoo has it?
			$fallback = self::root_dir() . '/templates/' . $template_name;
			if ( file_exists( $fallback ) ) {
				$template = $fallback;
			}
		}
		return $template;
	}
public function template_fallback( $template, $template_name, $template_path ) {
		if ( ! file_exists( $template ) ) {
			// Woops, no template. Does hametwoo has it?
			$fallback = self::root_dir() . '/templates/' . $template_name;
			if ( file_exists( $fallback ) ) {
				$template = $fallback;
			}
		}
		return $template;
	}
public function template_fallback ( $ template , $ template_name , $ template_path ) { if ( ! file_exists ( $ template ) ) { // Woops, no template. Does hametwoo has it? $ fallback = self :: root_dir ( ) . '/templates/' . $ template_name ; if ( file_exists ( $ fallback ) ) { $ template = $ fallback ; } } return $ template ; }
Add hametwoo dir to template.

@param string $template      File path.
@param string $template_name Template name. e.g. email/cancel-order.php
@param string $template_path Template base name. Default `woocommerce`.

@return string
Add hametwoo dir to template .