wp_upload_dir how to get just the directory name

Posted by Prem Tiwari | Updated on

This is what you get back from the function:

For multisites, you would get something like this:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers