is_error() WordPress Function
The is_error() function in WordPress is used to check if a given value is a WordPress error. This function can be useful for checking whether an error has occurred during a WordPress operation, and then taking appropriate action.
is_error( $sc ) #
Contents
Source
File: wp-includes/rss.php
function is_error ($sc) { return $sc >= 400 && $sc < 600; }
Expand full source codeCollapse full source codeView on TracView on GitHub