WordPress.org

Ready to get started?Download WordPress

Codex

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

Function Reference/search theme directories

Contents

Description

Search all registered theme directories for complete and valid themes.

Usage

<?php search_theme_directories() ?>

Parameters

None.

Return Values

(array) 
Valid themes found

Examples

Notes

  • Uses global: (unknown type) $wp_theme_directories
  • Uses global: (array) $wp_broken_themes Holds broken themes list.

Change Log

Since: 2.9.0

Source File

search_theme_directories() is located in wp-includes/theme.php.

Related

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