do_action( ‘is_wp_error_instance’, WP_Error $thing )

In this article

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

do_action( 'is_wp_error_instance', $thing );

Changelog

VersionDescription
5.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.