Warning: This function has been deprecated. Use wp_media_insert_url_form() instead.
type_url_form_file() WordPress Function
The type_url_form_file() function allows users to easily insert a URL into a WordPress post or page. This function can be used to add a link to an external website, or to add a link to a file that is located on the same server as the WordPress site. This function can be used to add a link to an image, PDF, or any other type of file.
type_url_form_file() #
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' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |