Input Field – uploadfile

24/08/2020

You can use the uploadfile input field to allow users to upload any WordPress acceptable file; (e.g. PDF, MP4 videos etc.) See the below example about how you can use the uploadfile input field –

Example

Copy to Clipboard

Parameters

    • type
      ( string ) input type.
      • heading
        ( string ) Setting title.
        • description
          ( string ) Short description about the setting field.
          • param_name
             ( string ) Attribute name to be used in the shortcode.
            • value
              ( string ) Default value as file url.