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

$domain

The domain used to search for a network.

$path

The path used to search for a path.


Source

File: wp-includes/ms-load.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.4.0 Introduced.