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



stylesheet_directory ›

Since1.5.0
已弃用n/a
apply_filters( 'stylesheet_directory', $stylesheet_dir, $stylesheet, $theme_root )
参数: (3)
  • (string) $stylesheet_dir Absolute path to the current theme.
    Required: Yes
  • (string) $stylesheet Directory name of the current theme.
    Required: Yes
  • (string) $theme_root Absolute path to themes directory.
    Required: Yes
定义在:
文档:

Filters the stylesheet directory path for current theme.





源码

return apply_filters( 'stylesheet_directory', $stylesheet_dir, $stylesheet, $theme_root );