Private AccessPrivate Access
This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Retrieves an array of active and valid themes.
While upgrading or installing WordPress, no themes are returned.
(string) Array of absolute paths to theme directories.