The File control allows an file to be uploaded and selected. This field makes use of the native WP media popup to handle the upload and selection process.

File control save data as array and contain the following keys:

  • id
  • url
  • alt
  • caption
  • link

PHP Method

Handlebars Method

Custom Meta

Was this page helpful?