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

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


Description

Top ↑

See also


Top ↑

Parameters

$deprecated array|string Optional
Not used.

Default: ''


Top ↑

Return

string[] An array containing the current site's domain.

  • string
    The current site's domain.


Top ↑

Source

File: wp-includes/ms-functions.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
MU (3.0.0) Introduced.

Top ↑

User Contributed Notes

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