PluginProbe
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification / 5.13.0
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification v5.13.0
5.12.0 5.13.0 5.13.1 5.11.0 5.10.0 5.9.0 5.8.0 5.8.1 5.7.0 5.6.2 5.6.3 5.6.1 5.6.0 5.5.0 5.4.0 5.3.2 5.3.1 5.1.6 5.1.5 trunk 2.1.5 2.11 2.12 2.13 2.15 All 47 releases
← All changes | core/OptIn.class.php +9 -0 5.11.0 → 5.13.0 View file →
@@ -358,8 +358,16 @@
358 358 public function get_cf_form_id(): int {
359 359 return $this->entity->getFormId();
360 360 }
361 361
362 + /**
363 + * Instance of the form inside the form id (e.g. the Elementor widget);
364 + * empty for records stored before 5.12.0 and for forms without instances.
365 + */
366 + public function get_form_ref(): string {
367 + return $this->entity->getFormRef();
368 + }
369 +
362 370 public function is_confirmed(): bool {
363 371 return $this->entity->isConfirmed();
364 372 }
365 373
@@ -804,8 +812,9 @@
804 812 'email' => 'email',
805 813 'id' => 'id',
806 814 'consent_text' => 'consent_text',
807 815 'consent_field' => 'consent_field',
816 + 'form_ref' => 'form_ref',
808 817 ];
809 818
810 819 $result = [];
811 820 foreach ( $mapping as $legacy => $entity ) {