redirect_this_site( array|string $deprecated =  ): string[]

Ensures that the current site’s domain is listed in the allowed redirect host list.

Description

See also

Parameters

$deprecatedarray|stringoptional
Not used.

Default:''

Return

string[] An array containing the current site’s domain.
  • 0 string
    The current site’s domain.

Source

function redirect_this_site( $deprecated = '' ) {
	return array( get_network()->domain );
}

Changelog

VersionDescription
MU (3.0.0)Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.