Pro Tip:

Pro tip:

When you build your plugin, register a deactivate hook. In that hook call the wp_set_option_autoload_values with an array of options you create in your plugin. Setting autoload options to false, means that the option is still kept in the options table, but not loaded on every page request. Good plugin clean up after themselves, after there are deactivated and do not effect user performance after the plugin is deactivated or uninstalled.

Related posts