apply_filters( 'image_send_to_editor_url', string $html, string $src, string $alt, string $align )

Filters the image URL sent to the editor.

Parameters Parameters


(string) HTML markup sent to the editor for an image.


(string) Image source URL.


(string) Image alternate, or alt, text.


(string) The image alignment. Default 'alignnone'. Possible values include 'alignleft', 'aligncenter', 'alignright', 'alignnone'.

Top ↑

Source Source

File: wp-admin/includes/media.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.