A WordPress-centric search engine for devs and theme authors



image_send_to_editor_url ›

Since2.8.0
Deprecatedn/a
apply_filters( 'image_send_to_editor_url', $html, esc_url_raw( $src )
Parameters: (4)
  • (string) $html HTML markup sent to the editor for an image.
    Required: Yes
  • (string) $src Image source URL.
    Required: Yes
  • (string) $alt Image alternate, or alt, text.
    Required: Yes
  • (string) $align The image alignment. Default 'alignnone'. Possible values include 'alignleft', 'aligncenter', 'alignright', 'alignnone'.
    Required: Yes
Defined at:
Codex:

Filters the image URL sent to the editor.





Source

$html = apply_filters( 'image_send_to_editor_url', $html, esc_url_raw( $src ), $alt, $align );