wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



image_send_to_editor_url › WordPress Filter Hooks

Da2.8.0
Deprecaton/a
› apply_filters( 'image_send_to_editor_url', $html, sanitize_url( $src )
Parametri: (4)
  • () html HTML markup sent to the editor for an image.
    Richiesto: Sì
  • () src Image source URL.
    Richiesto: Sì
  • () alt Image alternate, or alt, text.
    Richiesto: Sì
  • () align The image alignment. Default 'alignnone'. Possible values include 'alignleft', 'aligncenter', 'alignright', 'alignnone'.
    Richiesto: Sì
Definito a:
Codex:

Filters the image URL sent to the editor.





Sorgenti

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