redirect_this_site()WP 3.0.0

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

Хуков нет.

Возвращает

Строку[]. An array containing the current site's domain.

Использование

redirect_this_site( $deprecated );
$deprecated(массив|строка)
Not used.
По умолчанию: ''

Заметки

Список изменений

С версии 3.0.0 Введена.

Код redirect_this_site() WP 6.4.3

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