Filters the name of the active theme.
$templatestring
return apply_filters( 'template', get_option( 'template' ) );
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/template