Core Function
View Source on Trac ↗ wp_get_plugin_error()
wp_get_plugin_error( mixed $plugin ) Gets the error that was recorded for a paused plugin.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $plugin string | Path to the plugin file relative to the plugins directory. Required |
Return Value
((array)
(array | false) Array of error information as returned by `error_get_last()`,
or false if none was recorded.
Function Information
Since Version
5.2.0
Source File
wp-admin/includes/plugin.php
Advertisement