wpseek.com
WordPress开发者和主题制作者的搜索引擎



image_send_to_editor_url › WordPress过滤钩子

Since2.8.0
已弃用n/a
› apply_filters( 'image_send_to_editor_url', $html, sanitize_url( $src )
参数: (4)
  • () html HTML markup sent to the editor for an image.
    Required: Yes
  • () src Image source URL.
    Required: Yes
  • () alt Image alternate, or alt, text.
    Required: Yes
  • () align The image alignment. Default 'alignnone'. Possible values include 'alignleft', 'aligncenter', 'alignright', 'alignnone'.
    Required: Yes
定义在:
文档:

Filters the image URL sent to the editor.





源码

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