WP_Image_Editor::__construct()
Each instance handles a single file.
Метод класса: WP_Image_Editor{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WP_Image_Editor = new WP_Image_Editor(); $WP_Image_Editor->__construct( $file );
- $file(строка) (обязательный)
- Path to the file to load.
Код WP_Image_Editor::__construct() WP Image Editor:: construct WP 6.4.3
public function __construct( $file ) { $this->file = $file; }