WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/get theme


This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/deprecated.php. Use any of these functions instead.

Description

Retrieve theme data.

Usage

<?php get_theme$theme ?>

Parameters

$theme
(string) (required) Theme name.
Default: None

Return Values

(array|null) 
Null, if theme name does not exist. Theme data, if exists.

Notes

Change Log

Since: 1.5.0

Source File

get_theme() is located in wp-includes/deprecated.php.

Related

See also index of Function Reference and index of Template Tags.