LH Add Media from URL fetches a remote file by URL and adds it to the WordPress media library — via wp-admin or a JavaScript bookmarklet. Useful when you find an image or file elsewhere online and want a permanent local copy in your own media library, rather than depending on the original URL staying up.
media_handle_sideload()), so it goes through the same validation, thumbnail generation, and metadata handling as a normal upload.lh-add-media-from-url/add-media-from-url) so an MCP agent can pull a remote file into the media library the same way, without a human filling in the form — see Architecture for details.wp_check_filetype_and_ext(), staying inside WordPress core’s own SSRF-protected fetch path rather than making a second, unprotected request to the remote URL.lh-add-media-from-url folder to /wp-content/plugins/.