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



image_edit_before_change ›

Since2.9.0
已弃用
apply_filters( 'image_edit_before_change', $image, $changes )
参数: (2)
  • (resource) $image GD image resource.
    Required: Yes
  • (array) $changes Array of change operations.
    Required: Yes
定义在:
文档:

Filters the GD image resource before applying changes to the image.





源码

$image = apply_filters( 'image_edit_before_change', $image, $changes );