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

Handlebars template usage

Custom meta field usage

Was this helpful to you?