mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-04-29 11:32:21 +08:00
5 lines
252 B
Text
5 lines
252 B
Text
add_filter('gform_custom_merge_tags', 'custom_merge_tags', 10, 4);
|
|
function custom_merge_tags( $merge_tags, $form_id, $fields, $element_id ) {
|
|
$merge_tags[] = array('label' => 'Download Link', 'tag' => '{download_link}');
|
|
return $merge_tags;
|
|
}
|