is_wp_error_instance WordPress Action Hook
The is_wp_error_instance hook is used to check whether a given object is an instance of the WP_Error class.
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
- $thing
(WP_Error)The error object passed to
is_wp_error()
.
Source
File: wp-includes/load.php
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |