W3cubDocs

/WordPress

is_success( $sc )

Source

File: wp-includes/rss.php

function is_success ($sc) {
	return $sc >= 200 && $sc < 300;
}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/is_success