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

Top ↑

See also


Top ↑

Return

(string)


Top ↑

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' );
}


Top ↑

Changelog

Changelog
VersionDescription
3.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More