redirect_this_site()

最后更新于:2021-11-27 21:06:22

redirect_this_site( array|string$deprecated=”)

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

参数

$deprecated

(array|string) (Optional) Not used.

Default value: ”

响应

(string[]) An array containing the current site’s domain.

  • (string) The current site’s domain.

源文件

文件: gc-includes/ms-functions.php

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