WPCode
93Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...
Automatic OPcache reset for WordPress. Invalidates both in-memory and file-based OPCache upon upgrading WordPress.
OPcache Reset is a WordPress plugin designed to clear OPcache after updates to WordPress core, themes, and files. It functions automatically for web-based updates and is compatible with updates made through Linux cron. The plugin also offers WP-CLI commands for manual management of OPcache.
Best for: This plugin is suitable for developers or site administrators who need efficient OPcache management during WordPress updates.
What it does well
Where it falls short
OPcache Reset provides a straightforward solution for managing OPcache in WordPress, particularly useful for those who perform updates via cron or WP-CLI.
Danila Vershinin's own description of OPcache Reset, lightly tidied.
This plugin clears OPcache after updating WordPress core, themes, and files.
Unlike other plugins, it is also compatible with WordPress updates made by Linux cron.
The plugin works automatically for web-based updates. For CLI-based updates (cron, WP-CLI), configure your PHP-FPM socket:
Create a CacheTool-compatible .cachetool.yml in your WordPress root:
adapter: fastcgi
fastcgi: /run/php-fpm/www.sock
Reset OPcache from the command line:
wp opcache reset
Show OPcache status and statistics:
wp opcache status
Output status as JSON:
wp opcache status --format=json
Other plugins for developer tooling.
Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...
Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for an...
Duplicate post, post order, image resize, email via SMTP, admin menu editor, custom css / code, disable gutenb...
Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the shortcodes wit...
Add PHP code to your pages and posts easily using shortcodes.
An easy, clean, and simple way to enhance your site with code snippets.