WordPress hook directory
wp_redirect_status

Description

Applied to the HTTP status code when redirecting by the default wp_redirect function. Filter function arguments: HTTP status code, URL. Note that wp_redirect is also a "pluggable" function, meaning that plugins can override it; see Plugin API).

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for wp_redirect_status

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
2.5 wp-includes/pluggable.php 677 View in context filter
2.6 wp-includes/pluggable.php 758 View in context filter
2.7 wp-includes/pluggable.php 838 View in context filter
2.8 wp-includes/pluggable.php 853 View in context filter
2.9 wp-includes/pluggable.php 856 View in context filter
3.0 wp-includes/pluggable.php 878 View in context filter
3.1 wp-includes/pluggable.php 887 View in context filter
3.2 wp-includes/pluggable.php 924 View in context filter
3.3 wp-includes/pluggable.php 856 View in context filter
3.4 wp-includes/pluggable.php 871 View in context filter
3.5 wp-includes/pluggable.php 866 View in context filter
3.6 wp-includes/pluggable.php 865 View in context filter
3.7 wp-includes/pluggable.php 889 View in context filter
3.8 wp-includes/pluggable.php 886 View in context filter
3.9 wp-includes/pluggable.php 1111 View in context filter
4.0 wp-includes/pluggable.php 1163 View in context filter
4.1 wp-includes/pluggable.php 1168 View in context filter
4.2 wp-includes/pluggable.php 1186 View in context filter
4.3 wp-includes/pluggable.php 1197 View in context filter
4.4 wp-includes/pluggable.php 1218 View in context filter
4.5 wp-includes/pluggable.php 1161 View in context filter
4.6 wp-includes/pluggable.php 1164 View in context filter
4.7 wp-includes/pluggable.php 1169 View in context filter
4.8 wp-includes/pluggable.php 1200 View in context filter
4.9 wp-includes/pluggable.php 1206 View in context filter
5.0 wp-includes/pluggable.php 1213 View in context filter
5.1 wp-includes/pluggable.php 1226 View in context filter

Related Hooks

We find related hooks using word stems. wp_redirect_status has 2 significant word stem(s): redirect, status. Note that some of the hooks below may not appear in all versions of WP.