is_redirect() WordPress Function
The is_redirect() function is used to determine if the current page is a redirect page. This function is useful for plugin and theme developers who need to know if the current page is a redirect page.
is_redirect( $sc ) #
Contents
Source
File: wp-includes/rss.php
function is_redirect ($sc) { return $sc >= 300 && $sc < 400; }
Expand full source codeCollapse full source codeView on TracView on GitHub