wpseek.com
A WordPress-centric search engine for devs and theme authors



redirect_this_site › WordPress Function

Since
Deprecatedn/a
redirect_this_site ( $deprecated = '' )
Parameters:
  • (array|string) $deprecated Not used.
    Required: No
    Default: (empty)
See:
Returns:
  • (string[]) { An array containing the current site's domain. @type string $0 The current site's domain. }
Defined at:
Codex:
Change Log:
  • MU

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



Source

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