2020-05-01 / 3394阅 / 悠然
Retrieves the URL to the user’s dashboard.
If a user does not belong to any site, the global user dashboard is used. If the user belongs to the current site, the dashboard for the current site is returned. If the user cannot edit the current site, the dashboard to the user’s primary site is returned.
(int)
(Optional)
User ID. Defaults to current user.
(string)
(Optional)
path relative to the dashboard. Use>Default value: ''
(string)
(Optional)
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.
Default value: 'admin'
(string) Dashboard URL link with optional path appended.