New and updated in 5.8.0
-
functiontimer_float()
Gets the time elapsed so far during this PHP script.
-
Cleans the cached data so it can be recalculated.
-
Returns the theme’s data.
-
Returns the data merged from multiple origins.
-
Determines whether the active theme has a theme.json file.
-
Builds the path to the given file and checks that it is readable.
-
Processes a file that adheres to the theme.json schema and returns an array with its contents, or a void array if none found.
-
Converts a tree as in i18n-theme.json into a linear array containing metadata to translate a theme.json file.
-
Returns a data structure used in theme.json translation.
-
Translates a chunk of the loaded theme.json structure.
-
Given a theme.json structure modifies it in place to update certain values by its translated strings according to the language set by the user.
-
Returns core’s origin config.
-
Exposes the site logo through the WordPress REST API.