Core Function
View Source on Trac ↗ get_page_template()
get_page_template( ) Retrieves path of page template in current or parent template.
Return Value
(string)
Full path to page template file.
Function Information
Since Version
1.5.0
Source File
wp-includes/template.php
Advertisement