Returns the admin logout url for a given site.


  • Full name: admin_logout_url
  • Defined in: cms/core/Shared/Helpers/url.php

Parameters

Parameter Type Description
$redirect string Path to redirect to on logout.
$path string Optional. Path relative to the logout url. Default empty.
$scheme string|null Optional. Scheme to give the logout URL context. Accepts
'http', 'https', 'relative', or null. Default 'logout'.

Return Value

string

Returns the logout url.