protected function resolveFromThemeFilepath( $view ) {
		$file = locate_template( $view, false );

		if ( ! $file ) {
			// Try adding a .php extension.
			$file = locate_template( $view . '.php', false );
		}

		return $file;
	}
protected function resolveFromThemeFilepath( $view ) {
		$file = locate_template( $view, false );

		if ( ! $file ) {
			// Try adding a .php extension.
			$file = locate_template( $view . '.php', false );
		}

		return $file;
	}
protected function resolveFromThemeFilepath ( $ view ) { $ file = locate_template ( $ view , false ) ; if ( ! $ file ) { // Try adding a .php extension. $ file = locate_template ( $ view . '.php' , false ) ; } return $ file ; }
Resolve a view if it exists in the current theme.

@param  string $view
@return string
Resolve a view if it exists in the current theme .