type_url_form_media filter-hookWP 3.3.0

Filters the insert media from URL form HTML.

Usage

add_filter( 'type_url_form_media', 'wp_kama_type_url_form_media_filter' );

/**
 * Function for `type_url_form_media` filter-hook.
 * 
 * @param string $form_html The insert from URL form HTML.
 *
 * @return string
 */
function wp_kama_type_url_form_media_filter( $form_html ){

	// filter...
	return $form_html;
}
$form_html(string)
The insert from URL form HTML.

Changelog

Since 3.3.0 Introduced.

Where the hook is called

media_upload_type_url_form()
type_url_form_media
wp-admin/includes/media.php 2505
echo apply_filters( 'type_url_form_media', wp_media_insert_url_form( $type ) );

Where the hook is used in WordPress

Usage not found.