Media: Improve docs for image_send_to_editor
filter.
This updates inline docs for the `image_send_to_editor` filter to better describe when it is fired. Props adamsilverstein. Fixes #34823. git-svn-id: https://develop.svn.wordpress.org/trunk@38734 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2eade6230d
commit
5d1f571508
@ -135,7 +135,7 @@ function get_image_send_to_editor( $id, $caption, $title, $align, $url = '', $re
|
||||
$html = '<a href="' . esc_attr( $url ) . '"' . $rel . '>' . $html . '</a>';
|
||||
|
||||
/**
|
||||
* Filters the image HTML markup to send to the editor.
|
||||
* Filters the image HTML markup to send to the editor when inserting an image.
|
||||
*
|
||||
* @since 2.5.0
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user