apply_filters( 'image_send_to_editor_url', string $html, string $src, string $alt, string $align )
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
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/image_send_to_editor_url