Created
July 7, 2015 01:43
-
-
Save rabbitinblack/bd23c93499a1bcc1724e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Retrieve path of singular template in current or parent template. | |
* | |
* The template path is filterable via the 'singular_template' hook. | |
* | |
* @since 4.3.0 | |
* | |
* @see get_query_template() | |
* | |
* @return string Full path to singular template file | |
*/ | |
function get_singular_template() { | |
return get_query_template( 'singular' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment