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 ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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