Uses
Uses | Description |
---|---|
wp-includes/ms-network.php: get_network() | Retrieves network data given a network ID or network object. |
Ensure that the current site’s domain is listed in the allowed redirect host list.
(array|string) (Optional) Not used.
Default value: ''
(string[]) An array containing the current site's domain.
File: wp-includes/ms-functions.php
function redirect_this_site( $deprecated = '' ) { return array( get_network()->domain ); }
Version | Description |
---|---|
MU (3.0.0) | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/redirect_this_site