apply_filters( ‘template’, string $template )

In this article

Filters the name of the active theme.

Parameters

$templatestring
active theme’s directory name.

Source

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

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.