WP_Image_Editor::load()publicWP 3.5.0

Loads image from $this->file into editor.

Method of the class: WP_Image_Editor{}

No Hooks.

Return

true|WP_Error. True if loaded; WP_Error on failure.

Usage

$WP_Image_Editor = new WP_Image_Editor();
$WP_Image_Editor->load();

Changelog

Since 3.5.0 Introduced.

WP_Image_Editor::load() code WP 6.5.2

abstract public function load();