WP_Image_Editor::load()publicWP 3.5.0

Loads image from $this->file into editor.

{} It's a 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.

Code of WP_Image_Editor::load() WP 5.9.3

abstract public function load();