admin_url Wordpress function


Description:

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


Syntax:


Arguments:

(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:

wp-includes/link-template.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/admin_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 ×