WordPress.org

Forums

Image uploading hook for plugin (1 post)

  1. Xerotone
    Member
    Posted 6 years ago #

    I'm interested in passing a URL and title to some function to easily input a remote image into the WP database as you would with the regular media uploader... unfortunately I have found no such function. Anyone know of any examples of this kind of simple functionality in existing plugins?

    The long explanation: I'm pulling image URLs via XML requests to an API and I would like to have these images saved locally for use in WordPress posts... I've seen some round-about ways of making a new user interface to accomplish this kind of thing but I'm looking for something more direct: specify an item in the post panel and have all the back-end work processed automatically. Any help would be greatly appreciated :)

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 6 years ago by Xerotone
  • This topic is not a support question
  • WordPress version: 2.7