wp_get_active_and_valid_themes

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.

SummerySummery

Retrieves an array of active and valid themes.

Syntax

wp_get_active_and_valid_themes()

DescriptionDescription

While upgrading or installing WordPress, no themes are returned.

ReturnReturn

(string[]) Array of absolute paths to theme directories.

SourceSource

File: wp-includes/load.php


			

ChangelogChangelog

Changelog
Version Description
5.1.0 Introduced.
Scroll to Top