wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



image_send_to_editor › WordPress Filter Hooks

Seit5.6.0
Veraltetn/v
apply_filters( 'image_send_to_editor', $html, $id, $caption, $title, $align, $url, $size, $alt, $rel )
Parameter: (9)
  • () html The image HTML markup to send.
    Erforderlich: Ja
  • () id The attachment ID.
    Erforderlich: Ja
  • () caption The image caption.
    Erforderlich: Ja
  • () title The image title.
    Erforderlich: Ja
  • () align The image alignment.
    Erforderlich: Ja
  • () url The image source URL.
    Erforderlich: Ja
  • () size Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
    Erforderlich: Ja
  • () alt The image alternative, or alt, text.
    Erforderlich: Ja
  • () rel The image rel attribute.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the image HTML markup to send to the editor when inserting an image.





Quellcode

$html = apply_filters( 'image_send_to_editor', $html, $id, $caption, $title, $align, $url, $size, $alt, $rel );