media_send_to_editor

最后更新于:2021-11-27 07:37:20

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.

参数

$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.

源文件

文件: gc-admin/includes/media.php

View on Trac