Filters the image URL sent to the editor.
Parameters
$html
string- HTML markup sent to the editor for an image.
$src
string- Image source URL.
$alt
string- Image alternate, or alt, text.
$align
string- The image alignment. Default
'alignnone'
. Possible values include'alignleft'
,'aligncenter'
,'alignright'
,'alignnone'
.
Source
$html = apply_filters( 'image_send_to_editor_url', $html, sanitize_url( $src ), $alt, $align );
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.