wpmu_admin_do_redirect


wpmu_admin_do_redirect ( $url = '' )

Parameters:
  • (string) $url Optional. Redirect URL. Default empty.
See:
Defined at:
Change Log:
  • M: U

Description

Redirect a user based on $_GET or $_POST arguments.

The function looks for redirect arguments in the following order: 1) $_GET['ref'] 2) $_POST['ref'] 3) $_SERVER['HTTP_REFERER'] 4) $_GET['redirect'] 5) $_POST['redirect'] 6) $url

Related Functions

wp_validate_redirect, wp_safe_redirect, wp_admin_bar_render, wp_sanitize_redirect, wp_redirect

Top Google Results

User discussions

wpseek mobile