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



network_home_url ›

Since3.0.0
已弃用n/a
apply_filters( 'network_home_url', $url, $path, $orig_scheme )
参数: (3)
  • (string) $url The complete network home URL including scheme and path.
    Required: Yes
  • (string) $path Path relative to the network home URL. Blank string if no path is specified.
    Required: Yes
  • (string|null) $orig_scheme Scheme to give the URL context. Accepts 'http', 'https', 'relative' or null.
    Required: Yes
定义在:
文档:

Filters the network home URL.





源码

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