Reply To: Get File Names in Email

Gary Michael
Support Manager

Hi Chris,

We just released version 1.4.6 of SyncS3. The new version includes a filter you can use to modify the anchor text in the {s3urls} merge tag. Here is a sample snippet:

add_filter( 'syncs3_s3urls_merge_tag_link_anchor_text', 'em_replace_s3url_link_text', 10, 4 );
 * Modify a link's anchor text in the {s3urls} merge tag.
 * @param  string 	$text  	Anchor text
 * @param  string 	$url   	File S3 URL
 * @param  array 	$form  	Form data
 * @param  array 	$entry 	Entry data
 * @return string
function em_replace_s3url_link_text( $text, $url, $form, $entry ) {
	// Custom logic here
	return $text;
Your Cart
Your cart is currently empty.
Open Cart