WordPress at a glance
function is not described

redirect_this_site() WP 3.0.0

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

  • See: wp_validate_redirect()

No Hooks.


Array. The current site's domain


redirect_this_site( $deprecated );
Not used.
Default: ''

Code of redirect this site: wp-includes/ms-functions.php WP 5.2.2

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