redirect_this_site()
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.
По умолчанию:''
Заметки
- Смотрите: wp_validate_redirect()
Список изменений
| С версии 3.0.0 | Введена. |
Код redirect_this_site() redirect this site WP 6.9.4
function redirect_this_site( $deprecated = '' ) {
return array( get_network()->domain );
}