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

Image control saves data as an array and contains the following keys:

  • id
  • url
  • alt
  • caption
  • link
  • sizes

Accessing image by ID:

Accessing image by ID:

Was this page helpful?