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
-
HTML markup sent to the editor for an image.
- $src
-
Image source URL.
- $alt
-
Image alternate, or alt, text.
- $align
-
The image alignment. Default 'alignnone'. Possible values include 'alignleft', 'aligncenter', 'alignright', 'alignnone'.
Source
Changelog
Version | Description |
---|---|
WP-2.8.0 | Introduced. |