wpmu_admin_do_redirect

DeprecatedDeprecated

This function has been deprecated. Use wp_redirect() instead.

SummerySummery

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

Syntax

wpmu_admin_do_redirect( string $url = '' )

DescriptionDescription

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

ParametersParameters

$url

(string) (Optional) Redirect URL.

Default value: ''

SourceSource

File: wp-includes/ms-deprecated.php


			

ChangelogChangelog

Changelog
Version Description
3.3.0 Use wp_redirect()
MU (3.0.0) Introduced.

See alsoSee also

Scroll to Top