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



admin_url ›

Since2.8.0
已弃用n/a
apply_filters( 'admin_url', $url, $path, $blog_id )
参数: (3)
  • (string) $url The complete admin area URL including scheme and path.
    Required: Yes
  • (string) $path Path relative to the admin area URL. Blank string if no path is specified.
    Required: Yes
  • (int|null) $blog_id Site ID, or null for the current site.
    Required: Yes
定义在:
文档:

Filters the admin area URL.





源码

return apply_filters( 'admin_url', $url, $path, $blog_id );