PluginProbe
Webling / 3.2.0
Webling v3.2.0
trunk 2.0 3.0 3.0.1 3.0.2 3.0.3 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.3.0 3.4.0 3.4.1 3.5.0 3.6.0 3.7.0 3.7.1 3.7.2 3.7.3 3.8.0 3.9.0 3.9.1 3.9.2
webling / src / setup / uninstall.php

uninstall.php in Webling 3.2.0, at src/setup/uninstall.php

12 lines 375 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 function webling_plugin_uninstall() {
4 // removing options
5 // we don't want an apikey to be laying around in the database
6 // the cache should already be cleared by the deactivation hook
7 // we keep the webling tables, they don't contain sensitive data
8 delete_option('webling-db-version');
9 delete_option('webling-cache-state');
10 delete_option('webling-options');
11 }
12