A WordPress-centric search engine for devs and theme authors



stylesheet_directory ›

Since1.5.0
Deprecatedn/a
apply_filters( 'stylesheet_directory', $stylesheet_dir, $stylesheet, $theme_root )
Parameters: (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
Defined at:
Codex:

Filters the stylesheet directory path for current theme.





Source

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