aw2.upload

/ Utility / aw2.upload

Upload

Parameters supported : main(default: attach_to_post), post_id, upload_element_id, upload_file_url, dir_name, file_name, overwrite_file, allowed_file_types, set_featured, woo_product_gal

Example:

[aw2.upload upload_to_path
        upload_element_id='{@file.key}'
        allowed_file_types='{@file.item.allowed_file_types}'
        file_name='{@file.key}'
        dir_name='public-docs/forms/{template.ack.object_id}'
        overwrite_file='{@file.item.overwrite_file}'
        set='template.file_response'
/]

 

Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *