redirect_this_site()
Ensures that the current site's domain is listed in the allowed redirect host list.
No Hooks.
Return
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 6.5.2
function redirect_this_site( $deprecated = '' ) { return array( get_network()->domain ); }