redirect_this_site()
Ensures that the current site's domain is listed in the allowed redirect host list.
No Hooks.
Returns
String[]. An array containing the current site's domain.
Usage
redirect_this_site( $deprecated );
- $deprecated(array|string)
- Not used.
Default:''
Notes
Changelog
| Since 3.0.0 | Introduced. |
redirect_this_site() redirect this site code WP 7.0
function redirect_this_site( $deprecated = '' ) {
return array( get_network()->domain );
}