gform_file_upload_status_markup

gform_file_upload_status_markup

DescriptionUsageParametersExamplesSinceSource Code

Description
JavaScript filter allowing the file upload markup to be filtered as it is being uploaded.
Usage

Parameters

statusMarkup string
Markup template used to render the status of the file being uploaded.

file {plupload.File}
Instance of File being uploaded. See: https://www.plupload.com/docs/v2/File.

size integer|string
File size.

strings object
Array of localized strings relating to the file upload UI.

removeFileJs string
JS used to remove the file when the 「Cancel」 link is click/pressed.

up {plupload.Uploader}
Instance of Uploader responsible for uploading current file. See: https://www.plupload.com/docs/v2/Uploader.

Examples

Since
This filter was added in Gravity Forms version 2.4.8.3.
Source Code
This filter is located in gravityforms/js/gravityforms.js.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注