add uninstall_hook
This commit is contained in:
parent
9e81d6e0ae
commit
8f89abc9ed
|
@ -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' );
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue