WordPress 2.6.0 Hooks, Functions, Classes and Methods
Page 7

media_sideload_image()

Downloads an image from the specified URL, saves it as an attachment, and optionally attaches it to a post.

plugins_url()

Retrieves a URL within the plugins or mu-plugins directory.