Core Function
View Source on Trac ↗ wp_clean_plugins_cache()
wp_clean_plugins_cache( mixed $clear_update_cache = true ) Clears the plugins cache used by get_plugins() and by default, the plugin updates cache.
Parameters 0 required
| Name / Type | Description |
|---|---|
| $clear_update_cache bool | Whether to clear the plugin updates cache. Default true. |
Return Value
(void)
No return value description available.
Function Information
Since Version
3.7.0
Source File
wp-admin/includes/plugin.php
Advertisement