Action hook 'ms_site_not_found'
in WP Core File wp-includes/ms-load.php at line 418
Description
Fires when a network can be determined but a site cannot. At the time of this action, the only recourse is to redirect somewhere and exit. If you want to declare a particular site, do so earlier.
Occurrences
Filename |
Line Number |
wp-includes/ms-load.php |
418 |
Parameters
Type |
Name |
Description |
WP_Network |
$current_site |
The network that had been determined. |
string |
$domain |
The domain used to search for a site. |
string |
$path |
The path used to search for a site. |
PHP Doc
/**
* Fires when a network can be determined but a site cannot.
*
* At the time of this action, the only recourse is to redirect somewhere
* and exit. If you want to declare a particular site, do so earlier.
*
* @since 3.9.0
*
* @param WP_Network $current_site The network that had been determined.
* @param string $domain The domain used to search for a site.
* @param string $path The path used to search for a site.
*/