WPDev.one
Core Function
View Source on Trac ↗

get_singular_template()

get_singular_template( )

Retrieves the path of the singular template in current or parent template.

Return Value

(string)
Full path to singular template file

Function Information

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