get_query_template
get_query_template ( $type, $templates = array() )
Parameters:- (string) $type Filename without extension.
- (array) $templates An optional list of template candidates
Returns:- (string) Full path to file.
Defined at: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: -
Description
Retrieve path to a template
Used to quickly retrieve the path of a template without including the file
extension. It will also check the parent theme, if the file exists, with
the use of {@link locate_template()}. Allows for more generic template location
without the use of the other get_*_template() functions.