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



image_editor_save_pre › WordPress过滤钩子

Since3.5.0
已弃用n/a
apply_filters( 'image_editor_save_pre', $image, $attachment_id )
参数: (2)
  • (WP_Image_Editor) $image The image editor instance.
    Required: Yes
  • (int) $attachment_id The attachment post ID.
    Required: Yes
定义在:
文档:

Filters the WP_Image_Editor instance for the image to be streamed to the browser.





源码

$image = apply_filters( 'image_editor_save_pre', $image, $attachment_id );