Uma área de pesquisa sobre o WordPress para devs e autores do tema



image_edit_before_change ›

Desde2.9.0
Obsoleto
apply_filters( 'image_edit_before_change', $image, $changes )
Parâmetros: (2)
  • (resource) $image GD image resource.
    Required: Yes
  • (array) $changes Array of change operations.
    Required: Yes
Definido em:
Codex:

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





Fonte

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