how to get path to images in the uploads folder to be used in a plugin
If I’m not mistaken, you may want to try the wp_uploads_dir function, like so: $uploads = wp_upload_dir(); echo ‘<img src=”‘ . esc_url( $uploads[‘baseurl’] . ‘/USER_PHOTOS/ronny/’ ) . ‘” href=”#”>’;