wp_get_plugin_error


wp_get_plugin_error ( $plugin )

Parameters:
  • (string) $plugin Path to the plugin file relative to the plugins 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 plugin.

Related Functions

wp_get_split_term, wp_get_mu_plugins, wp_get_theme_error, wp_get_split_terms, get_plugin_files

Top Google Results

User discussions

wpseek mobile