image_send_to_editor

image_send_to_editor

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('image_send_to_editor') is found 1 times:

  • /wp-admin/includes/media.php line 168
    	 *                              an array of width and height values in pixels (in that order).
    	 * @param string       $alt     The image alternative, or alt, text.
    	 * @param string       $rel     The image rel attribute.
    	 */
    	$html = apply_filters( 'image_send_to_editor', $html, $id, $caption, $title, $align, $url, $size, $alt, $rel );
    
    	return $html;
    }
    
    /**
     * Adds image shortcode with caption to editor.