admin_url Wordpress function


Retrieve the url to the admin area for the current site.



(string) $path Optional path relative to the admin url.
(string) $scheme The scheme to use. Default is 'admin', which obeys force_ssl_admin() and is_ssl(). 'http' or 'https' can be passed to force those schemes.

Return Type:

(string) Admin url link with optional path appended.

Define At:


Wordpress Reference URL:

0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×