WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

WPMU Functions/wpmu admin do redirect

Description

Redirects the users browser to one of the following in the order below...

  1. $_GET['ref']
  2. $_POST['ref']
  3. $_SERVER['HTTP_REFERER']
  4. $_GET['redirect']
  5. $_POST['redirect']
  6. $url

Parameters

$url
(string) (optional) Redirect URL
Default: [blank string]

Return Values

(null)

Usage

<?php wpmu_admin_do_redirect($url); ?>