new Uploader(options)
A WordPress uploader.
The Plupload library provides cross-browser uploader UI integration.
This object bridges the Plupload API to integrate uploads into the
WordPress back end and the WordPress media experience.
Parameters:
| Name |
Type |
Description |
options |
object
|
The options passed to the new plupload instance.
Properties
| Name |
Type |
Description |
container |
object
|
The id of uploader container. |
browser |
object
|
The id of button to trigger the file select. |
dropzone |
object
|
The id of file drop target. |
plupload |
object
|
An object of parameters to pass to the plupload instance. |
params |
object
|
An object of parameters to pass to $_POST when uploading the file.
Extends this.plupload.multipart_params under the hood. |
|
- Source:
-