“Function Reference/get themes”的版本间的差异

来自WordPress中文文档
跳转至: 导航搜索
(| |)
 
(1个修订)
(没有差异)

2009年3月14日 (六) 09:23的版本

Description

Retrieve list of themes with theme data in theme directory.

The theme is broken if it doesn't have a parent theme and is missing either ttstyle.css/tt or ttindex.php/tt. If the theme has a parent theme then it is broken, if it is missing ttstyle.css/tt; ttindex.php/tt is optional. The broken theme list is saved in the tt$wp_broken_themes/tt global, which is displayed on the theme list in the administration panels.

Usage

%%%?php get_themes() ?%%%

Parameters

None.

Return Values

(array) 
Theme list with theme data.

Examples

!-- Need creative examples. Feel free to link to external examples. --

Notes

Change Log

Since: 1.5.0

Source File

!-- Need links to current source code files -- ttget_themes()/tt is located in ttwp-includes/theme.php/tt.

Related

!--

   To Do:
   Need to find related functions.
   Need to create groups of functions and create templates to add them to a page quickly.
   Some functions may be related to many groups of functions.

--