Archive | Filters by letter u RSS feed for this section


Retrieve the url to the admin area for the current user.


Continue reading


Get 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 blog is returned.


Continue reading


Get an array containing the current upload directory’s path and url.Checks the ‘upload_path’ option, which should be from the web root folder, and if it isn’t empty it will be used. If it is empty, then the path will be ‘WP_CONTENT_DIR/uploads’. If the ‘UPLOADS’ constant is defined, then it will override the ‘upload_path’ option and ‘WP_CONTENT_DIR/uploads’ path.


Continue reading