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



wp_image_editor_before_change › WordPress过滤钩子

Since3.5.0
已弃用n/a
apply_filters( 'wp_image_editor_before_change', $image, $changes )
参数: (2)
  • (WP_Image_Editor) $image WP_Image_Editor instance.
    Required: Yes
  • (array) $changes Array of change operations.
    Required: Yes
定义在:
文档:

Filters the WP_Image_Editor instance before applying changes to the image.





源码

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