I have some folder with images in /wp-content/uploads
. I also have a plugin file in /wp-content/plugins
. I want to retrieve the images stored in /wp-content/uploads
and use them in the plugin file.
I have tried
echo'<img src="https://wordpress.stackexchange.com/questions/75887/USER_PHOTOS/ronny"" href="#"></img>';
can someone show me how I can get the path to these images?
thanks.