WordPress开发者和主题制作者的搜索引擎



theme_file_path ›

Since4.7.0
已弃用n/a
apply_filters( 'theme_file_path', $path, $file )
参数: (2)
  • (string) $path The file path.
    Required: Yes
  • (string) $file The requested file to search for.
    Required: Yes
定义在:
文档:

Filters the path to a file in the theme.





源码

return apply_filters( 'theme_file_path', $path, $file );