Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7146

Form Builder: Disable IP address retention during submission

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Merged
    • Icon: Should have Should have
    • 2.106.0
    • None

      Summary

      In order to minimize personal data footprint, we will enable by default IP address anonymization. A feature that provided already by default in Gravity Forms.

      Requirements

      • Enable the relevant feature under Form Settings > Personal Data by default.

      Resources

      Code example

      add_filter( 'gform_form_update_meta', function( $meta, $form_id, $meta_name ) {
      
          GFCommon::log_debug( current_filter() . ': filtering personal data settings.' );
      
          $meta['personalData']['retention']['policy'] = 'delete';
      
          return $meta;
      
      }, 10, 3 );
      

            oagbernd Osong Agberndifor
            nroussos Nikos Roussos
            Dan Tovbein Dan Tovbein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: