wpseek.com
WordPress开发者和主题制作者的搜索引擎



redirect_this_site › WordPress Function

Since
已弃用n/a
redirect_this_site ( $deprecated = '' )
参数:
  • (array|string) $deprecated Not used.
    Required: No
    默认: (empty)
查看:
返回:
  • (string[]) { An array containing the current site's domain. @type string $0 The current site's domain. }
定义在:
文档:
Change Log:
  • MU

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



源码

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