wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



ms_site_not_found › Działania WordPress Hooks

Od3.9.0
Przestarzałyn/a
do_action( 'ms_site_not_found', $current_site, $domain, $path )
Parametry: (3)
  • (WP_Network) $current_site The network that had been determined.
    Wymagane: Tak
  • (string) $domain The domain used to search for a site.
    Wymagane: Tak
  • (string) $path The path used to search for a site.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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