
Notification Attachments for Gravity Forms
v0.6.5kgmservizi · 2020年12月11日 上架
Send attachment in Gravity Forms Notification
- 正在使用
- 2,000+
- 评分
- 5.0 / 5
- 累计下载
- 3.4 万
- 最近更新
- 2026年11月7日
12 条评价需要 WordPress 5.0+已测试到 7.1.5PHP 7.4+
贡献者
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 );