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.

No Hooks.

Return

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

Usage

redirect_this_site( $deprecated );
$deprecated(array|string)
Not used.

Notes

  • See: wp_validate_redirect()

Changelog

Since 3.0.0 Introduced.

Code of redirect_this_site() WP 5.7

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