Changeset 2768346
- Timestamp:
- 08/09/2022 11:42:06 AM (4 years ago)
- Location:
- goaffpro/trunk
- Files:
-
- 1 added
- 1 edited
-
goaffpro.php (modified) (3 diffs)
-
uninstall.php (added)
Legend:
- Unmodified
- Added
- Removed
-
goaffpro/trunk/goaffpro.php
r2714806 r2768346 2 2 /** 3 3 * @package GoAffPro 4 * @version 2.7. 24 * @version 2.7.3 5 5 * @copyright Goaffpro 6 6 * @licence GPL-2.0 … … 15 15 */ 16 16 17 $goaffpro_plugin_version = "2.7. 2";18 $goaffpro_plugin_version_code = 2 8;17 $goaffpro_plugin_version = "2.7.3"; 18 $goaffpro_plugin_version_code = 29; 19 19 20 20 $goaffpro_token_key = 'goaffpro_public_token'; … … 34 34 return $token; 35 35 } 36 37 /**38 * Register uninstall hook and remove the token from database upon uninstall39 * */40 register_uninstall_hook(__FILE__, 'goaffpro_on_uninstall');41 42 function goaffpro_on_uninstall(){43 global $goaffpro_token_key;44 delete_option($goaffpro_token_key);45 }46 47 36 48 37 /**
Note: See TracChangeset
for help on using the changeset viewer.