is_wp_error Wordpress function


Description:

Check whether variable is a WordPress Error.


Syntax:


Arguments:

(mixed) $thing Check if unknown variable is WordPress Error object.


Return Type:

(bool) True, if WP_Error. False, if not WP_Error.


Define At:

wp-includes/class-wp-error.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/is_wp_error


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×