Advertisements
Tag Archives: id2ae19191cfd82cd229ca1f3717e6916c

get_attachment_template

Retrieve path of attachment template in current or parent template.The attachment path first checks if the first part of the mime type exists. The second check is for the second part of the mime type. The last check is for both types separated by an underscore. If neither are found then the file ‘attachment.php’ is checked and returned.

1164

Advertisements
Continue reading