wp_redirect_status

wp_redirect_status

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_redirect_status') is found 1 times:

  • /wp-includes/pluggable.php line 1406

    *
    * @param int $status The HTTP response status code to use.
    * @param string $location The path or URL to redirect to.
    */
    $status = apply_filters( ‘wp_redirect_status’, $status, $location );

    if ( ! $location ) {
    return false;
    }

    if ( $status < 300 || 399 < $status ) { [/php]

See this hook used in plugins: