wp_get_theme_error

SummerySummery

Gets the error that was recorded for a paused theme.

Syntax

wp_get_theme_error( string $theme )

ParametersParameters

$theme

(string) (Required) Path to the theme directory relative to the themes directory.

ReturnReturn

(array|false) Array of error information as it was returned by error_get_last(), or false if none was recorded.

SourceSource

File: wp-admin/includes/theme.php


			

ChangelogChangelog

Changelog
Version Description
5.2.0 Introduced.
Scroll to Top