Outil de recherche WordPress pour les développeurs et auteurs de thèmes



ms_site_not_found ›

Depuis3.9.0
Dépréciéen/a
do_action( 'ms_site_not_found', $current_site, $domain, $path )
Paramètres: (3)
  • (object) $current_site The network that had been determined.
    Requis: Oui
  • (string) $domain The domain used to search for a site.
    Requis: Oui
  • (string) $path The path used to search for a site.
    Requis: Oui
Défini(e) dans:
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.





Source

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