Switch language

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




get_theme [ WordPress Function ]

get_theme ( $theme )
Parameters:
  • (string) $theme Theme name.
See:
Returns:
  • (array|null) Null, if theme name does not exist. Theme data, if exists.
Defined at:



Retrieve theme data.

Source


<?php
function get_theme$theme ) {
    
_deprecated_function__FUNCTION__'3.4''wp_get_theme( $stylesheet )' );

    
$themes get_themes();
    if ( 
is_array$themes ) && array_key_exists$theme$themes ) )
        return 
$themes$theme ];
    return 
null;
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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