WP_Image_Editor_Imagick::__destruct() – Imagick object.

You appear to be a bot. Output may be restricted

Description

Imagick object.

Usage

WP_Image_Editor_Imagick::__destruct();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/class-wp-image-editor-imagick.php
Lines:

1 to 7 of 7
  public function __destruct() {
    if ( $this->image instanceof Imagick ) {
      // We don't need the original in memory anymore.
      $this->image->clear();
      $this->image->destroy();
    }
  }
 

 View on GitHub View on Trac