Skip to content

Instantly share code, notes, and snippets.

@sjaved87
Created February 6, 2016 12:20
Show Gist options
  • Save sjaved87/5487fd988b4a9c10d268 to your computer and use it in GitHub Desktop.
Save sjaved87/5487fd988b4a9c10d268 to your computer and use it in GitHub Desktop.
This small snippet will delete recently plugins list of WordPress.
<?php
add_action('admin_init', 'wpmudev_delete_recent_plugins_list');
function wpmudev_delete_recent_plugins_list(){
delete_option('recently_activated');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment