add uninstall_hook

This commit is contained in:
Martin Schuette 2014-04-04 22:53:21 +00:00
parent 9e81d6e0ae
commit 8f89abc9ed

View file

@ -209,3 +209,8 @@ function ff_meta_options_page() {
<?php <?php
} }
register_uninstall_hook( __FILE__, 'ff_meta_uninstall_hook' );
function ff_meta_uninstall_hook() {
delete_option( 'ff_meta_city' );
delete_option( 'ff_meta_cachetime' );
}