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

File: wp-admin/includes/media.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.8.0 Introduced.