redirect_this_site( array|string $deprecated = '' )
Ensure that the current site’s domain is listed in the allowed redirect host list.
Description
See also
Parameters
- $deprecated
-
(Optional) Not used.
Default value: ''
Return
(array) The current site's domain
Source
File: wp-includes/ms-functions.php
function redirect_this_site( $deprecated = '' ) {
return array( get_network()->domain );
}
Changelog
Version | Description |
---|---|
WP-MU | Introduced. (3.0.0) |