A WordPress-centric search engine for devs and theme authors



redirect_this_site ›

Since3.0.0
Deprecatedn/a
redirect_this_site ( $deprecated = '' )
Parameters:
  • (array|string) $deprecated Not used.
    Required: No
    Default: (empty)
See:
Returns:
  • (array) 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 );
}