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



image_send_to_editor_url › Filtr WordPress Hooks

Od2.8.0
Przestarzałyn/a
› apply_filters( 'image_send_to_editor_url', $html, sanitize_url( $src )
Parametry: (4)
  • () html HTML markup sent to the editor for an image.
    Wymagane: Tak
  • () src Image source URL.
    Wymagane: Tak
  • () alt Image alternate, or alt, text.
    Wymagane: Tak
  • () align The image alignment. Default 'alignnone'. Possible values include 'alignleft', 'aligncenter', 'alignright', 'alignnone'.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the image URL sent to the editor.





Źródło

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