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



image_send_to_editor_url › WordPress Filter Hooks

Seit2.8.0
Veraltetn/v
apply_filters( 'image_send_to_editor_url', $html, sanitize_url( $src )
Parameter: (4)
  • () html HTML markup sent to the editor for an image.
    Erforderlich: Ja
  • () src Image source URL.
    Erforderlich: Ja
  • () alt Image alternate, or alt, text.
    Erforderlich: Ja
  • () align The image alignment. Default 'alignnone'. Possible values include 'alignleft', 'aligncenter', 'alignright', 'alignnone'.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the image URL sent to the editor.





Quellcode

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