WP_Image_Editor::__construct( string $file )

Each instance handles a single file.


Parameters

$file

(string) (Required) Path to the file to load.


Source

File: wp-includes/class-wp-image-editor.php

	public function __construct( $file ) {
		$this->file = $file;
	}