Filters the name of the active theme.
Parameters
$templatestring- active theme’s directory name.
Source
return apply_filters( 'template', get_option( 'template' ) );
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
Filters the name of the active theme.
$templatestringreturn apply_filters( 'template', get_option( 'template' ) );
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.