A WordPress-centric search engine for devs and theme authors



is_wp_error_instance ›

Since5.6.0
Deprecatedn/a
do_action( 'is_wp_error_instance', $thing )
Parameters:
  • (WP_Error) $thing The error object passed to `is_wp_error()`.
    Required: Yes
Defined at:
Codex:

Fires when `is_wp_error()` is called and its parameter is an instance of `WP_Error`.





Source

do_action( 'is_wp_error_instance', $thing );