File Field

In this article

The File field enables file uploads and management through the WordPress media library. It supports various file types and provides flexible display options for the selected files.

Key Features

  • Media library integration
  • File type restrictions
  • Size limitations
  • Custom return formats
  • Preview capabilities

Settings

  • Library – Restrict to uploaded or all files
  • Return Format – Array, URL, or ID
  • Preview Size – Thumbnail display size
  • Min/Max Size – File size restrictions
  • Allowed File Types – Restrict accepted formats