wpseek.com
A WordPress-centric search engine for devs and theme authors



{$type}_send_to_editor_url › WordPress Filter Hooks

Since3.3.0
Deprecatedn/a
apply_filters( "{$type}_send_to_editor_url", $html, sanitize_url( $src )
Parameters: (3)
  • () html HTML markup sent to the editor.
    Required: Yes
  • () src Media source URL.
    Required: Yes
  • () title Media title.
    Required: Yes
Defined at:
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`




Source

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