wp_get_upload_dir
wp_get_upload_dir ( No parameters )
See:Returns:- (array) See wp_upload_dir() for description.
Defined at: - Introduced in WordPress: 4.5.0
- Deprecated in WordPress: —
Description
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.