A WordPress-centric search engine for devs and theme authors



admin_url ›

Since2.8.0
Deprecatedn/a
apply_filters( 'admin_url', $url, $path, $blog_id )
Parameters: (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
Defined at:
Codex:

Filters the admin area URL.





Source

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