On this page
do_action( 'is_wp_error_instance', WP_Error $thing )
Fires when is_wp_error() is called and its parameter is an instance of WP_Error.
Parameters
$thingWP_Error-
The error object passed to
is_wp_error().
Source
File: wp-includes/load.php. View all references
do_action( 'is_wp_error_instance', $thing );
Related
Used By
| Used By | Description |
|---|---|
| is_wp_error() wp-includes/load.php | Checks whether the given variable is a WordPress Error. |
Changelog
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/is_wp_error_instance