wp-content » plugins » WordPress Recently Active Plugins

WordPress Recently Active Plugins

How does WordPress’s Recently Active Plugins list work?

Recently Active lists inactive plugins that have been deactivated in the last 7 days.

image 21 - WordPress Recently Active Plugins
Recently Active plugins tab

In wp-admin/plugins.php line 212 the option “recently_activated” gets updated if a plugin is deactivated:

image 23 1024x111 - WordPress Recently Active Plugins

so the data is stored in the database table wp_options > recently_activated

chrome v9sk6j6gSc - WordPress Recently Active Plugins
wp_options > recently_activated

The option contains an associative array containing the path to the main file of the plugin as the key and the time the plugins have been deactivated (as a UNIX timestamp) stored as a serialized value.

This data is rechecked each time you open the Plugins page in wp-admin before displaying the plugin table

The timestamp is used to determine the “recently active” plugins (wp-admin/includes/class-wp-plugins-list-table.php line 188):

image 22 - WordPress Recently Active Plugins

Was this post helpful?

Leave a Comment

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.

Recommended