image_send_to_editor_url

image_send_to_editor_url

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

See hook in core

Displaying hooks found in version: wordpress-6.5.3

apply_filters('image_send_to_editor_url') is found 1 times:

  • /wp-admin/includes/media.php line 959
    			 * @param string $alt   Image alternate, or alt, text.
    			 * @param string $align The image alignment. Default 'alignnone'. Possible values include
    			 *                      'alignleft', 'aligncenter', 'alignright', 'alignnone'.
    			 */
    			$html = apply_filters( 'image_send_to_editor_url', $html, sanitize_url( $src ), $alt, $align );
    		}
    
    		return media_send_to_editor( $html );
    	}
    
    	if ( isset( $_POST['save'] ) ) {