WC_Helper::get_view_filename()public staticWC 1.0

Get an absolute path to the requested helper view.

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

No Hooks.

Return

String. The absolute path to the view file.

Usage

$result = WC_Helper::get_view_filename( $view );
$view(string) (required)
The requested view file.

Code of WC_Helper::get_view_filename() WC 6.6.1

public static function get_view_filename( $view ) {
	return dirname( __FILE__ ) . "/views/$view";
}