apply_filters( 'media_send_to_editor', string $html, int $send_id, array $attachment )

Filters the HTML markup for a media item sent to the editor.


Description Description

See also See also


Top ↑

Parameters Parameters

$html

(string) HTML markup for a media item sent to the editor.

$send_id

(int) The first key from the $_POST['send'] data.

$attachment

(array) Array of attachment metadata.


Top ↑

Source Source

File: wp-admin/includes/media.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.