Skip to content

Commit

Permalink
Delete site option on uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Jul 7, 2021
1 parent 8a36605 commit 211bb31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
defined( 'WP_UNINSTALL_PLUGIN' ) or die;

delete_option( 'preferred_languages' );
delete_site_option( 'preferred_languages' );
delete_metadata( 'user', null, 'preferred_languages', '', true );

0 comments on commit 211bb31

Please sign in to comment.