how to get upload path in wordpress

use the code given below

write the code and use the print_r()


then you can get the array after that you can use the and path ;

ex: $folder_path = str_replace(‘\\’, ‘/’, $path[‘path’]);



Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *