Reply To: How to tag individual files on upload to S3?
February 26, 2022 at 2:11 pm Reply
Customer
Hi Michael, I don’t seem to be having much success triggering the filter.
add_filter( ‘syncs3_putobject_args’, ‘syncs3_putobject_args_tags’, 10, 4 );
function syncs3_putobject_args_tags( $args, $file, $entry, $form_id ) {
$args[‘StorageClass’] = ‘GLACIER’;
return $args;
}