Uma área de pesquisa sobre o WordPress para devs e autores do tema



image_send_to_editor_url ›

Desde2.8.0
Obsoleton/a
apply_filters( 'image_send_to_editor_url', $html, esc_url_raw( $src )
Parâmetros: (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
Definido em:
Codex:

Filters the image URL sent to the editor.





Fonte

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