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



image_editor_save_pre › Hooks de Filtros WordPress

Desde3.5.0
Obsoleton/a
apply_filters( 'image_editor_save_pre', $image, $attachment_id )
Parâmetros: (2)
  • (WP_Image_Editor) $image The image editor instance.
    Required: Yes
  • (int) $attachment_id The attachment post ID.
    Required: Yes
Definido em:
Codex:

Filters the WP_Image_Editor instance for the image to be streamed to the browser.





Fonte

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