search_theme_directories
search_theme_directories ( $force = false )
Parameters:- (bool) force Optional. Whether to force a new directory scan. Default false.
Returns:- (array|false) Valid themes found on success, false on failure.
Defined at: - Introduced in WordPress: 2.9.0
- Deprecated in WordPress: —
Description
Searches all registered theme directories for complete and valid themes.