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



image_save_pre ›

Desde2.9.0
Obsoleto
apply_filters( 'image_save_pre', $image, $attachment_id )
Parâmetros: (2)
  • (resource) $image Image resource to be streamed.
    Required: Yes
  • (int) $attachment_id The attachment post ID.
    Required: Yes
Definido em:
Codex:

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





Fonte

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