File Upload

Generates a file upload field, using the native WordPress uploader

Field Options

  • Return Value: Return either the file URL (default) or attachment ID

Return Value

(mixed) Either the file URL or attachment ID

Template Usage

<?php echo CFS()->get('field_name'); ?>