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

Top ↑

See also


Top ↑

Return

(string)


Top ↑

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


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