WordPress at a glance
filter is not described

(type)_send_to_editor_url filter-hook . WP 3.3.0

Filters the URL sent to the editor for a specific media type.

The dynamic portion of the hook name, $type, refers to the type of media being sent.


add_filter( '(type)_send_to_editor_url', 'filter_function_name_5291', 10, 3 );
function filter_function_name_5291( $html, $src, $title ){
	// filter...

	return $html;
HTML markup sent to the editor.
Media source URL.
Media title.

Where the hook is called

wp-admin/includes/media.php 799
$html = apply_filters( "{$type}_send_to_editor_url", $html, esc_url_raw( $src ), $title );
wp-admin/includes/ajax-actions.php 2769
$html = apply_filters( "{$type}_send_to_editor_url", $html, $src, $link_text );

Where the hook is used (in WP core)

Does not used.