Filter hook 'image_send_to_editor_url'

in WP Core File wp-admin/includes/media.php at line 959

Description

Filters the image URL sent to the editor.

Occurrences

Filename Line Number
wp-admin/includes/media.php 959

Parameters

Type Name Description
string $html HTML markup sent to the editor for an image.
string $src Image source URL.
string $alt Image alternate, or alt, text.
string $align The image alignment. Default 'alignnone'. Possible values include 'alignleft', 'aligncenter', 'alignright', 'alignnone'.

PHP Doc

/**
			 * Filters the image URL sent to the editor.
			 *
			 * @since 2.8.0
			 *
			 * @param string $html  HTML markup sent to the editor for an image.
			 * @param string $src   Image source URL.
			 * @param string $alt   Image alternate, or alt, text.
			 * @param string $align The image alignment. Default 'alignnone'. Possible values include
			 *                      'alignleft', 'aligncenter', 'alignright', 'alignnone'.
			 */