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

type_url_form_audio() WordPress Function

The type_url_form_audio() function allows users to easily add an audio player to their WordPress site. This function can be used to play MP3, WAV, and other audio files. The audio player can be used to play audio files from a URL or from the WordPress media library.

type_url_form_audio() #

Handles retrieving the insert-from-URL form for an audio file.


Description

Top ↑

See also


Top ↑

Return

(string)


Top ↑

Source

File: wp-admin/includes/deprecated.php

function type_url_form_audio() {
	_deprecated_function( __FUNCTION__, '3.3.0', "wp_media_insert_url_form('audio')" );
	return wp_media_insert_url_form( 'audio' );
}


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