W3cubDocs

/WordPress

type_url_form_file()

This function has been deprecated. Use wp_media_insert_url_form() instead.

Handles retrieving the insert-from-URL form for a generic file.

Description

See also

Return

(string)

Source

File: wp-admin/includes/deprecated.php

function type_url_form_file() {
	_deprecated_function( __FUNCTION__, '3.3.0', "wp_media_insert_url_form('file')" );
	return wp_media_insert_url_form( 'file' );
}

Changelog

Version Description
3.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/type_url_form_file