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

apply_filters('image_send_to_editor_url') is found 1 times:

  • /wp-admin/includes/media.php line 959
    955
    956
    957
    958
    959
    960
    961
    962
    963
    964
    965
             * @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'] ) ) {