is_server_error() WordPress Function
This function checks for a WordPress error. It is useful for checking if there is an error when connecting to the WordPress API. This function can be used to check for errors when using the WordPress API.
is_server_error( $sc ) #
Contents
Source
File: wp-includes/rss.php
function is_server_error ($sc) { return $sc >= 500 && $sc < 600; }
Expand full source codeCollapse full source codeView on TracView on GitHub