| 开发者 | Vtryon |
|---|---|
| 更新时间 | 2026年4月23日 20:32 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
vtryon_upload_person_payload — person image upload payload.vtryon_create_task_payload — task creation JSON.vtryon_max_upload_size — max upload size (default 5 MB).vtryon_default_garment_type — garment type (default stitched).vtryon_api_base_url — override API base URL (advanced).vtryon_display_preset_definitions — register or change product page placement presets (hook, priority, label per preset).vtryon_display_position — override the resolved hook, priority, and preset slug for the single-product try-on block.vtryon_bulk_sync_max_products — max products per Sync All run (default 2000).vtryon_before_upload_person — before sending a person image.vtryon_after_create_task — after a task is created.vtryon_before_download / vtryon_after_download — around result download tracking.Yes. The plugin checks for WooCommerce and shows an admin notice if it is missing.
No. Only the WordPress REST URL and a REST nonce are passed to the browser; login and garment APIs run on the server.
Featured images and customer uploads use JPG and PNG (validated with WordPress file checks).
The plugin bundles SweetAlert2 for admin sync feedback and storefront messages. No remote script loads are required for core operation.
Yes. Use WooCommerce → Vtryon → Settings: uncheck Enable virtual try-on for the entire site to disable try-on site-wide, and use Product page placement to change where the block appears. For a custom position you can also use the [vtryon] shortcode (and remove the automatic hook in code if you need only the shortcode).
The same documentation ships as README.md in the plugin folder. It is also shown under WooCommerce → Vtryon → Help guide below the quick start section.