2020-05-01 / 2393阅 / 悠然
Retrieve path of attachment template in current or parent template.
The hierarchy for this template looks like:
An example of this is:
The template hierarchy and template path are filterable via the ‘$type_template_hierarchy’ and ‘$type_template’ dynamic hooks, where $type is ‘attachment’.
(string) Full path to attachment template file.