Summery Summery

Fires when a network can be determined but a site cannot.

Syntax Syntax

do_action( 'ms_site_not_found', object $current_site, string $domain, string $path )

Description Description

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.

Parameters Parameters


(object) The network that had been determined.


(string) The domain used to search for a site.


(string) The path used to search for a site.

Source Source

File: wp-includes/ms-load.php


Changelog Changelog

Version Description
3.9.0 Introduced.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?