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



parent_theme_file_path › WordPress过滤钩子

Since4.7.0
已弃用n/a
apply_filters( 'parent_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 parent theme.





源码

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