Codex tools: Log in
Contents |
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 style.css or index.php. If the theme has a parent theme, it is broken if it is missing style.css; index.php is optional. The broken theme list is saved in the $wp_broken_themes global, which is displayed on the theme list in the administration panels.
<?php get_themes() ?>
None.
Since: 1.5.0
get_themes() is located in wp-includes/theme.php.