WPCode
93Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...
Easily debug WordPress sites using Ray.
Ray is a WordPress plugin designed to assist in debugging applications by providing a lightweight desktop app interface. After installation, you can use the ray() function to quickly display variables and other debugging information, making it easier to troubleshoot issues in your code.
This plugin is suitable for developers who need a straightforward tool to help with debugging tasks. It offers various functions to display runtime and memory usage, executed queries, and other helpful data.
Best for: This plugin is best for developers looking for a simple debugging tool for their WordPress applications.
What it does well
Where it falls short
Ray offers a practical solution for debugging in WordPress, though its feature set may require further exploration for advanced users.
freekmurze's own description of Ray, lightly tidied.
Ray is a beautiful, lightweight desktop app that helps you debug your app. There’s a free demo available that can be unlocked with a license.
After installing this plugin, you can use the ray() function to quickly dump stuff. Any variable(s) that you pass to ray() will be displayed.
Here some examples:
ray('Hello world');
ray(['a' => 1, 'b' => 2])->color('red');
ray('multiple', 'arguments', 'are', 'welcome');
ray()->showQueries();
There are many other helper functions available on Ray that allow you to display things that can help you debug such as runtime and memory usage, queries that were executed, and much more.
The extensive documentation can be found here.
It contains the installation instructions for WordPress.
After it is installed you can use any of the framework agnostic and WordPress specific functions.
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.