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



network_site_url ›

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

Filters the network site URL.





源码

return apply_filters( 'network_site_url', $url, $path, $scheme );