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_6631', 10, 3 );
function filter_function_name_6631( $html, $src, $title ){
	// filter...

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


Since 3.3.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.