Warning: This function has been deprecated. Use wp_media_insert_url_form() instead.
type_url_form_image() WordPress Function
The type_url_form_image() function allows you to change the default image URL field on the WordPress media upload form. This is useful if you want to use a different image hosting service or if you want to change the way the image URL is generated.
type_url_form_image() #
Handles retrieving the insert-from-URL form for an image.
Description
See also
Return
(string)
Source
File: wp-admin/includes/deprecated.php
function type_url_form_image() {
_deprecated_function( __FUNCTION__, '3.3.0', "wp_media_insert_url_form('image')" );
return wp_media_insert_url_form( 'image' );
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |