W3cubDocs

/WordPress

apply_filters( "{$type}_send_to_editor_url", string $html, string $src, string $title )

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

Description

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

Parameters

$html

(string) HTML markup sent to the editor.

$src

(string) Media source URL.

$title

(string) Media title.

Source

File: wp-admin/includes/media.php

View on Trac

Changelog

Version Description
3.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/type_send_to_editor_url