ms_site_not_found

动作钩子


do_action( 'ms_site_not_found', $current_site, $domain, $path )
参数
  • (WP_Network)
    $current_site
    The network that had been determined.
    Required:
  • (string)
    $domain
    The domain used to search for a site.
    Required:
  • (string)
    $path
    The path used to search for a site.
    Required:
定义位置
  • wp-includes/ms-load.php
    , line 414
引入
3.9.0
弃用

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.

do_action( 'ms_site_not_found', $current_site, $domain, $path );
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。