wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



image_send_to_editor_url › Les Filtres WordPress

Depuis2.8.0
Dépréciéen/a
› apply_filters( 'image_send_to_editor_url', $html, sanitize_url( $src )
Paramètres: (4)
  • () html HTML markup sent to the editor for an image.
    Requis: Oui
  • () src Image source URL.
    Requis: Oui
  • () alt Image alternate, or alt, text.
    Requis: Oui
  • () align The image alignment. Default 'alignnone'. Possible values include 'alignleft', 'aligncenter', 'alignright', 'alignnone'.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the image URL sent to the editor.





Source

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