download_url() appears as grey icons
When using the wp_handle_sideload function then, as @xvilo pointed out in a comment, it isn’t creating the meta data wordpress needs to display the image in the media library. As I can not see where the wp_handle_sideload function is writing the data to the db, I don’t understand why the files are being displayed in … Read more