WPDev.one
Core Function
View Source on Trac ↗

get_attachment_template()

get_attachment_template( )

Retrieves path of attachment template in current or parent template.

Return Value

(string)
Full path to attachment template file.

Function Information

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