WP_Image_Editor::__construct( string $file )
- Source
wp-includes/class-wp-image-editor.php:31
Each instance handles a single file.
Parameters
$filestring- Path to the file to load.
Source
public function __construct( $file ) { $this->file = $file; }History
Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.7.7 tag, from
src/wp-includes/class-wp-image-editor.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.