Created
February 6, 2016 12:20
-
-
Save sjaved87/5487fd988b4a9c10d268 to your computer and use it in GitHub Desktop.
This small snippet will delete recently plugins list of WordPress.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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