Advertisements
Archive | Filters by letter u RSS feed for this section

user_admin_url

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

10503

Advertisements
Continue reading

get_dashboard_url

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.

9453

Continue reading

wp_upload_dir

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.

4251

Continue reading