Programmatically clear WP Rocket cache from a third-party plugin / theme when data changes — the public rocket_clean_* function family (roc…
“DevOps、云与基础设施”领域的一个 Skill。已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
完整描述
Programmatically clear WP Rocket cache from a third-party plugin / theme when data changes — the public rocket_clean_* function family (rocket_clean_post, rocket_clean_files, rocket_clean_term, rocket_clean_user, rocket_clean_home, rocket_clean_minify, rocket_clean_cache_busting, rocket_clean_domain, rocket_clean_cache_dir). Critical detection rule — WP Rocket is a PAID plugin not on Packagist; always feature-detect via function_exists('rocket_clean_post') OR defined('WP_ROCKET_VERSION') before calling, since not every site has it. Never raw-unlink the cache directory or call wp_cache_flush() expecting it to clear WP Rocket — wp_cache_flush is WP object cache, WP Rocket is FILE cache. The before_*_clean_* / after_*_clean_* action lifecycle hooks fire around every clean — useful for audit logging, monitoring, custom invalidation chains. Use when integrating cache invalidation in a companion plugin, WC integration, custom data plugin. Triggers on rocket_clean_, before_rocket_clean, after_rocket_clean, "WP Rocke
Skill 是加载到智能体(如 Claude Code 或 Codex)里的一组指令。就像在手机上安装应用:装一次,智能体就知道怎么做这件事。
它有什么用?
用于“DevOps、云与基础设施”相关工作。发布者的介绍:Programmatically clear WP Rocket cache from a third-party plugin / theme when data changes — the public rocket_clean_* function family (rocket_clean_post, rock…
示例请求
“准备好部署这个应用的步骤。”
智能体
已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
值得信任吗?
26 个 GitHub 星标 · MIT。安装前请先查看来源。
使用情况
最近 30 天,网站和智能体上。
0个书架收藏
0次浏览
0次命令复制
0次网站下载
0次通过应用安装
0次由智能体自行安装
0位活跃用户
实测评分需要 ANG 应用中至少 20 位用户和 50 个任务;目前有 0 位用户、0 个任务。在此之前,强度分根据条目数据估算。