Closed gerasart closed 4 months ago
wp_get_upload_dir() indeed does the same as wp_upload_dir(null, false).
Implementation: function wp_get_upload_dir() { return wp_upload_dir( null, false ); }
However, wp_get_upload_dir() is newer. It was introduced in 4.5.0. WebP Express is made to work in 4.0.0, so I cannot use wp_get_upload_dir()
wp_upload_dir(null, false) can be use like
wp_get_upload_dir() - this params already exists.