network_home_url

过滤钩子


apply_filters( 'network_home_url', $url, $path, $orig_scheme )
参数
  • (string)
    $url
    The complete network home URL including scheme and path.
    Required:
  • (string)
    $path
    Path relative to the network home URL. Blank string
    if no path is specified.
    Required:
  • (string|null)
    $orig_scheme
    Scheme to give the URL context. Accepts ‘http’, ‘https’,
    ‘relative’ or null.
    Required:
定义位置
  • wp-includes/link-template.php
    , line 3695
引入
3.0.0
弃用

Filters the network home URL.

return apply_filters( 'network_home_url', $url, $path, $orig_scheme );