WP_Image_Editor::load()publicWP 3.5.0

Loads image from $this->file into editor.

Метод класса: WP_Image_Editor{}

Хуков нет.

Возвращает

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

Использование

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

Список изменений

С версии 3.5.0 Введена.

Код WP_Image_Editor::load() WP 6.1.1

abstract public function load();