WP_Image_Editor::__construct

Advertisement

Summery Summery

Each instance handles a single file.

Syntax Syntax

WP_Image_Editor::__construct( string $file )

Parameters Parameters

$file

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

Source Source

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

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

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.