A WordPress-centric search engine for devs and theme authors



template ›

Since1.5.0
Deprecatedn/a
apply_filters( 'template', get_option( 'template' )
Parameters:
  • (string) $template Current theme's directory name.
    Required: Yes
Defined at:
Codex:

Filters the name of the current theme.





Source

return apply_filters( 'template', get_option( 'template' ) );