redirect_this_site( array|string $deprecated = '' )

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


Description Description

See also See also


Top ↑

Parameters Parameters

$deprecated

(array|string) (Optional) Not used.

Default value: ''


Top ↑

Return Return

(array) The current site's domain


Top ↑

Source Source

File: wp-includes/ms-functions.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
MU (3.0.0) Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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