PluginProbe
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification / 3.0.71
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification v3.0.71
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 3.0.0 3.0.1 3.0.2 3.0.3 3.0.5 3.0.51 3.0.60 3.0.61 3.0.62 3.0.70 3.0.71 All 36 releases
double-opt-in / uninstall.php

uninstall.php in Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification 3.0.71, at uninstall.php

30 lines 611 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace forge12\contactform7\CF7DoubleOptIn;
4
5 if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
6 die;
7 }
8
9 function drop_table_optin() {
10 global $wpdb;
11
12 // Backup Table
13 $tableName = 'f12_cf7_doubleoptin';
14 $wpTableName = $wpdb->prefix . $tableName;
15
16 $wpdb->query( "DROP TABLE IF EXISTS " . $wpTableName );
17 }
18
19 function drop_table_categories() {
20 global $wpdb;
21
22 // Backup Table
23 $tableName = 'f12_cf7_doubleoptin_categories';
24 $wpTableName = $wpdb->prefix . $tableName;
25
26 $wpdb->query( "DROP TABLE IF EXISTS " . $wpTableName );
27 }
28
29 drop_table_categories();
30 drop_table_optin();