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.

Possible hook names include:

  • audio_send_to_editor_url
  • file_send_to_editor_url
  • video_send_to_editor_url

Parameters

$html

HTML markup sent to the editor.

$src

Media source URL.

$title

Media title.


Source

File: wp-admin/includes/media.php

View on GitHub



Changelog

Changelog
Version Description
3.3.0 Introduced.