Definition:
function admin_url( $path = '', $scheme = 'admin' ) {}
Retrieve the url to the admin area for the current site.
Parameters
- 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 values
returns:Admin url link with optional path appended.
Source code
function admin_url( $path = '', $scheme = 'admin' ) {
return get_admin_url(null, $path, $scheme);
}
403

February 11, 2011 


No comments yet... Be the first to leave a reply!