We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b317915 commit 1f2e56fCopy full SHA for 1f2e56f
1 file changed
classes/update/class-update-172.php
@@ -0,0 +1,37 @@
1
+<?php
2
+/**
3
+ * Update class for version 1.7.2.
4
+ *
5
+ * @package Progress_Planner
6
+ */
7
+
8
+namespace Progress_Planner\Update;
9
10
11
12
13
14
15
+class Update_172 {
16
17
+ const VERSION = '1.7.2';
18
19
+ /**
20
+ * Run the update.
21
22
+ * @return void
23
24
+ public function run() {
25
+ // Delete the 'progress_planner_pro_license_key' entry from wp_options table.
26
+ $this->delete_pro_license_key();
27
+ }
28
29
30
+ * Delete the 'progress_planner_pro_license_key' entry from wp_options table.
31
32
33
34
+ private function delete_pro_license_key() {
35
+ \delete_option( 'progress_planner_pro_license_key' );
36
37
+}
0 commit comments