wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



image_save_pre › WordPress Filter Hooks

Seit2.9.0
VeraltetUse {@see 'image_editor_save_pre'} instead.
$image = apply_filters_deprecated( 'image_save_pre', array( $image, $attachment_id ), '3.5.0', 'image_editor_save_pre' );
Parameter: (2)
  • () image Image resource to be streamed.
    Erforderlich: Ja
  • () attachment_id The attachment post ID.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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