Filters the image URL sent to the editor.
$htmlstring
$srcstring
$altstring
$alignstring
'alignnone'. Possible values include 'alignleft', 'aligncenter', 'alignright', 'alignnone'.$html = apply_filters( 'image_send_to_editor_url', $html, sanitize_url( $src ), $alt, $align );
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/image_send_to_editor_url