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



image_save_pre ›

Since2.9.0
已弃用
apply_filters( 'image_save_pre', $image, $attachment_id )
参数: (2)
  • (resource) $image Image resource to be streamed.
    Required: Yes
  • (int) $attachment_id The attachment post ID.
    Required: Yes
定义在:
文档:

Filters the GD image resource to be streamed to the browser.





源码

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