protected function loadTemplate( $path, array $vars = [] ) {
		try {
			return \Pressbooks\Utility\template( $path, $vars );
		} catch ( \Exception $e ) {
			if ( WP_DEBUG ) {
				return "File not found: {$path}";
			} else {
				return '';
			}
		}
	}
protected function loadTemplate( $path, array $vars = [] ) {
		try {
			return \Pressbooks\Utility\template( $path, $vars );
		} catch ( \Exception $e ) {
			if ( WP_DEBUG ) {
				return "File not found: {$path}";
			} else {
				return '';
			}
		}
	}
protected function loadTemplate ( $ path , array $ vars = [ ] ) { try { return \ Pressbooks \ Utility \ template ( $ path , $ vars ) ; } catch ( \ Exception $ e ) { if ( WP_DEBUG ) { return "File not found: {$path}" ; } else { return '' ; } } }
Simple template system.

@param string $path
@param array $vars (optional)

@return string
Simple template system .