wp_redirect

wp_redirect

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_redirect') is found 1 times:

  • /wp-includes/pluggable.php line 1396
    		 *
    		 * @param string $location The path or URL to redirect to.
    		 * @param int    $status   The HTTP response status code to use.
    		 */
    		$location = apply_filters( 'wp_redirect', $location, $status );
    
    		/**
    		 * Filters the redirect HTTP response status code to use.
    		 *
    		 * @since 2.3.0
    		 *
    

See this hook used in plugins: