
REQUIREMENTS
LATEST VERSION IS COMPATIBLE ONLY WITH GRAVITY FORMS > 2.5+
Don’t work? Open ticket, we answer in max 48h.
This plugin requires Gravity Forms.
Send attachment in Gravity Forms Notification, you can add easily from Gravity Forms Notification setting.
Filters
gf_kgm_notification_attachment_path lets other plugins or themes change the path of an attached file before the notification is sent. The returned path must still point inside the uploads directory, otherwise the file is skipped.
add_filter( 'gf_kgm_notification_attachment_path', function ( $path, $attachment_id, $form, $entry ) {
return $path;
}, 10, 4 );
gf_kgm_notification_attachment_get_meta lets you change the preview data (id, mime_file, mime, title) shown for each attachment in the notification settings.
add_filter( 'gf_kgm_notification_attachment_get_meta', function ( $meta, $attachment_id, $attachment ) {
return $meta;
}, 10, 3 );