{apc_media} Merge Tag

Summary

Allows for files uploaded to the media library to be inserted into the post.

The specified field must also be selected in the Media Library setting on the APC feed configuration page.

Usage

{apc_media:[id]:[return_type]}

Properties

:id

The File Upload field ID.

:return_type

Format uploaded files should be returned in: ids or urls.

Notes

By default, the merge tag inserts the IDs of the uploaded files. This can be changed to insert the URLs of the uploaded files by defining urls as the third parameter, e.g. {apc_media:12:urls}.

When using the merge tag with a multi-file upload field, file IDs or URLs will be output as a comma separated list.

Known Issues

Since the original Gravity Forms file upload path is not stored with the file in the media library, this merge tag is only available for use on the feed that adds the file(s) to the media library.