A WordPress-centric search engine for devs and theme authors
wp_get_upload_dir › WordPress Function
› wp_get_upload_dir ( No parameters )
Retrieves uploads directory information.Same as wp_upload_dir() but "light weight" as it doesn't attempt to create the uploads directory. Intended for use in themes, when only 'basedir' and 'baseurl' are needed, generally in all cases when not uploading files.
Related Functions: wp_upload_dir, _wp_upload_dir, wp_set_lang_dir, wp_upload_bits, wp_media_upload_handler