Skip to content

Commit

Permalink
added timing filter
Browse files Browse the repository at this point in the history
  • Loading branch information
xxsimoxx committed Aug 30, 2021
1 parent 1a6c6a0 commit 6ed4803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/change-plugin-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private function get_plugin_info() {
}

// Save transient...
set_transient('cpc_plugin_info', $plugin_info, 6 * HOUR_IN_SECONDS);
set_transient('cpc_plugin_info', $plugin_info, apply_filters('cpc_plugin_info_life', 6 * HOUR_IN_SECONDS));
// and keep in memory.
$this->plugin_info_cache = $plugin_info;

Expand Down

0 comments on commit 6ed4803

Please sign in to comment.