wpseek.com
WordPress开发者和主题制作者的搜索引擎



ms_network_not_found › WordPress动作钩子

Since4.4.0
已弃用n/a
do_action( 'ms_network_not_found', $domain, $path )
参数: (2)
  • (string) $domain The domain used to search for a network.
    Required: Yes
  • (string) $path The path used to search for a path.
    Required: Yes
定义在:
文档:

Fires when a network cannot be found based on the requested domain and path.

At the time of this action, the only recourse is to redirect somewhere and exit. If you want to declare a particular network, do so earlier.





源码

do_action( 'ms_network_not_found', $domain, $path );