2020-05-02 / 5603阅 / 悠然
检索存在的最高优先级模板文件的名称。
在TEMPLATEPATH和wp-includes / theme-compat之前在STYLESHEETPATH中进行搜索,以便从父主题继承的主题可以重载>
(string|array)
(Required)
Template file(s) to search for, in order.
(bool)
(Optional)
If true the template file will be loaded if it is found.
Default value: false
(bool)
(Optional)
Whether to require_once or require. Has no effect if $load is false.
Default value: true
(string) The template filename if one is located.