Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_current_theme [ WordPress Function ]

get_current_theme ( No parameters )
See:
Returns:
  • (string)
Defined at:



Retrieve current theme name.

Source


<?php
function get_current_theme() {
    
_deprecated_function__FUNCTION__'3.4''wp_get_theme()' );

    if ( 
$theme get_option'current_theme' ) )
        return 
$theme;

    return 
wp_get_theme()->get('Name');
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics