is_success() WordPress Function
This function is used to check if a given HTTP status code is successful.
is_success( $sc ) #
Source
File: wp-includes/rss.php
function is_success ($sc) { return $sc >= 200 && $sc < 300; }
Expand full source codeCollapse full source codeView on TracView on GitHub