WC_Helper::get_view_filename()public staticWC 1.0

Get an absolute path to the requested helper view.

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.

WC_Helper::get_view_filename() code WC 8.7.0

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