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



{$type}_send_to_editor_url › WordPress Filter Hooks

Seit3.3.0
Veraltetn/v
apply_filters( "{$type}_send_to_editor_url", $html, sanitize_url( $src )
Parameter: (3)
  • () html HTML markup sent to the editor.
    Erforderlich: Ja
  • () src Media source URL.
    Erforderlich: Ja
  • () title Media title.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the URL sent to the editor for a specific media type.

The dynamic portion of the hook name, `$type`, refers to the type of media being sent. Possible hook names include: - `audio_send_to_editor_url` - `file_send_to_editor_url` - `video_send_to_editor_url`




Quellcode

$html = apply_filters( "{$type}_send_to_editor_url", $html, sanitize_url( $src ), $title );