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:

Description

Searches all registered theme directories for complete and valid themes.

Related Functions

wp_is_theme_directory_ignored, register_theme_directory, get_template_directory, get_template_directory_uri, wp_get_theme_directory_pattern_slugs

Top Google Results

User discussions

wpseek mobile