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

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


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

$current_site

(object) The network that had been determined.

$domain

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

$path

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


Top ↑

Source Source

File: wp-includes/ms-load.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
3.9.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.