WPDev.one
Core Function
View Source on Trac ↗

get_single_template()

get_single_template( )

Retrieves path of single template in current or parent template. Applies to single Posts,

Return Value

(string)
Full path to single template file.

Function Information

Since Version
1.5.0
Source File
wp-includes/template.php
Advertisement