Warning: This function has been deprecated. Use wp_media_insert_url_form() instead.
type_url_form_video() WordPress Function
This function allows you to easily embed a video from a URL into your WordPress site. Simply paste the URL into the "Video URL" field and click "Insert into post". The video will appear in your post.
type_url_form_video() #
Handles retrieving the insert-from-URL form for a video file.
Description
See also
Return
(string)
Source
File: wp-admin/includes/deprecated.php
function type_url_form_video() {
_deprecated_function( __FUNCTION__, '3.3.0', "wp_media_insert_url_form('video')" );
return wp_media_insert_url_form( 'video' );
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |