W3cubDocs

/WordPress

apply_filters( 'template', string $template )

Filters the name of the current theme.

Parameters

$template

(string) Current theme's directory name.

Source

File: wp-includes/theme.php

View on Trac

Changelog

Version Description
1.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/template