On this page
do_action( 'ms_network_not_found', string $domain, string $path )
Fires when a network cannot be found based on the requested domain and path.
Description
At the time of this action, the only recourse is to redirect somewhere and exit. If you want to declare a particular network, do so earlier.
Parameters
$domainstring-
The domain used to search for a network.
$pathstring-
The path used to search for a path.
Source
File: wp-includes/ms-load.php. View all references
do_action( 'ms_network_not_found', $domain, $path );
Related
Used By
| Used By | Description |
|---|---|
| ms_load_current_site_and_network() wp-includes/ms-load.php | Identifies the network and site of a requested domain and path and populates the corresponding network and site global objects as part of the multisite bootstrap process. |
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/ms_network_not_found