wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



image_send_to_editor › Filtr WordPress Hooks

Od5.6.0
Przestarzałyn/a
› apply_filters( 'image_send_to_editor', $html, $id, $caption, $title, $align, $url, $size, $alt, $rel )
Parametry: (9)
  • () html The image HTML markup to send.
    Wymagane: Tak
  • () id The attachment ID.
    Wymagane: Tak
  • () caption The image caption.
    Wymagane: Tak
  • () title The image title.
    Wymagane: Tak
  • () align The image alignment.
    Wymagane: Tak
  • () url The image source URL.
    Wymagane: Tak
  • () size Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
    Wymagane: Tak
  • () alt The image alternative, or alt, text.
    Wymagane: Tak
  • () rel The image rel attribute.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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