wp_get_theme() instead.
This function has been deprecated. Useget_current_theme()
Retrieve current theme name.
Description
See also
Return
(string)
Source
File: wp-includes/deprecated.php
function get_current_theme() { _deprecated_function( __FUNCTION__, '3.4.0', 'wp_get_theme()' ); if ( $theme = get_option( 'current_theme' ) ) return $theme; return wp_get_theme()->get('Name'); }
Changelog
Version | Description |
---|---|
3.4.0 | Use wp_get_theme() |
1.5.0 | Introduced. |
Current theme name
Get the name of the current theme.