Glossary Term
get_dashboard_url()
get_dashboard_url() — 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.
Inputs: $user_id (int): Optional. User ID. Defaults to current user. $path (string): Optional path relative to the dashboard. Use only paths known to both site and user admins. Default empty. $scheme (string): 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.
Returns string: Dashboard URL link with optional path appended.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
