WP_Image_Editor::load()
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() WP Image Editor::load code WP 6.6.2
abstract public function load();