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

View on Trac

Changelog

Version Description
5.6.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/is_wp_error_instance