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

Filters the image URL sent to the editor.


Description Description


Parameters 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'.


Top ↑

Source Source

File: wp-admin/includes/media.php

View on Trac


Top ↑

Changelog 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.