Syntax Syntax
Source Source
File: wp-includes/class-wp-image-editor-gd.php
public function __destruct() {
if ( $this->image ) {
// We don't need the original in memory anymore.
imagedestroy( $this->image );
}
}
Developer Resources, Tips, Tricks, Tutorials and Much more.
File: wp-includes/class-wp-image-editor-gd.php
public function __destruct() {
if ( $this->image ) {
// We don't need the original in memory anymore.
imagedestroy( $this->image );
}
}