Reply To: How to tag individual files on upload to S3?

Martin Slowey

add_filter( ‘syncs3_putobject_args’, ‘syncs3_putobject_args_tag’, 10, 4 );
* Modifies the putObject args to add the Tagging parameter.
* @param array $args Current putObject parameters
* @param string $file Local file URL when uploaded
* @param array $entry Entry data
* @param int $form_id Form ID
* @return array
function syncs3_putobject_args_tag( $args, $file, $entry, $form_id ) {
$args[‘Tagging’] = ‘STORAGE_CLASS=DEEP_FREEZE’;
return $args;

Your Cart
Your cart is currently empty.
Open Cart