wpseek.com
A WordPress-centric search engine for devs and theme authors



image_save_pre › WordPress Filter Hooks

Since2.9.0
DeprecatedUse {@see 'image_editor_save_pre'} instead.
$image = apply_filters_deprecated( 'image_save_pre', array( $image, $attachment_id ), '3.5.0', 'image_editor_save_pre' );
Parameters: (2)
  • () image Image resource to be streamed.
    Required: Yes
  • () attachment_id The attachment post ID.
    Required: Yes
Defined at:
Codex:

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





Source

$image = apply_filters_deprecated( 'image_save_pre', array( $image, $attachment_id ), '3.5.0', 'image_editor_save_pre' );