wp_get_theme_error


wp_get_theme_error ( $theme )

Parameters:
  • (string) $theme Path to the theme directory relative to the themes directory.
Returns:
  • (array|false) Array of error information as it was returned by `error_get_last()`, or false if none was recorded.
Defined at:

Description

Gets the error that was recorded for a paused theme.

Related Functions

wp_get_theme, wp_get_themes, get_theme_root, get_theme_roots, wp_kses_html_error

Top Google Results

User discussions

wpseek mobile