get_template() – Retrieves name of the active theme.
You appear to be a bot. Output may be restricted
Description
Retrieves name of the active theme.
Usage
$string = get_template();
Parameters
Returns
string Template name.
Source
File name: wordpress/wp-includes/theme.php
Lines:
1 to 10 of 10
function get_template() { /** * Filters the name of the active theme. * * @since 1.5.0 * * @param string $template active theme's directory name. */ return apply_filters( 'template', get_option( 'template' ) ); }