Skip to content

Commit

Permalink
PLANET-7148 Form Builder: Enforce data retention policy (#2026)
Browse files Browse the repository at this point in the history
- Updated filter to enforce data retention for 90 days then delete permanently after
  • Loading branch information
Osong-Michael authored May 29, 2023
1 parent f6317d2 commit f0aea90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/GravityFormsExtensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,8 @@ function ($feed) use ($form_id) {
public function p4_gf_enable_default_meta_settings(array $meta): array
{
$meta['personalData']['preventIP'] = true;
$meta['personalData']['retention']['policy'] = 'delete';
$meta['personalData']['retention']['retain_entries_days'] = 90;
return $meta;
}
}

0 comments on commit f0aea90

Please sign in to comment.