wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



ms_site_not_found › WordPress Action Hooks

Seit3.9.0
Veraltetn/v
do_action( 'ms_site_not_found', $current_site, $domain, $path )
Parameter: (3)
  • (WP_Network) $current_site The network that had been determined.
    Erforderlich: Ja
  • (string) $domain The domain used to search for a site.
    Erforderlich: Ja
  • (string) $path The path used to search for a site.
    Erforderlich: Ja
Definiert in:
Codex:

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.





Quellcode

do_action( 'ms_site_not_found', $current_site, $domain, $path );