Returns the url to the admin area for a given site.
- Full name:
admin_url - Defined in:
cms/core/Shared/Helpers/url.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$path |
string | Optional. Path relative to the admin url. Default empty. |
$scheme |
string | Optional. The scheme to use. Accepts 'http' or 'https', |
| to force those schemes. Default 'admin'. |
Return Value
string
Admin url link with optional path appended.