A project by John Kolbert
The Developer’s CodeBox is a WordPress plugin for WordPress developers. Use it to test your functions. It supports real PHP syntax!
Latest Version: 1.1 | Compatability: 3.0-beta | Download from WP.org</a
Gives WordPress developers an easy way to test their functions and code in a live WordPress environment
- Quickly test code snippets in a WordPress environment (ever want to test something you found in the Codex?)
- run one-time functions
- Works with WP 3.0
Developing free plugins takes a lot of time and hard work. I do it because I love WordPress and giving back to the community. However, donations give me resources to continue devoting time to upgrades and support. If you’ve found this plugin useful, please donate any amount securely through PayPal.
Description & Usage
Often when writing a new plugin I want to test a particular function or code snippet and see if it works properly. Usually I want to test it isolated from other code so I can hone in specifically on any errors or irregularities quickly. This typically meant that I would copy the function, paste it into a blank plugin, add the necessary actions or filters so I could visualize its results in the admin area, activate it, then test it.
Well, I got tired of doing all that. Enter the Developer’s CodeBox. Its a text box that you can paste your code into and test it in a WordPress environment quickly. It supports native PHP using proper syntax (eg: <?php … ?>), and best of all: it supports native WordPress functions like get_bloginfo(‘template_url’);
Please note: the Developer’s CodeBox is NOT a sandbox. Meaning code run in the CodeBox has the ability to do whatever it is you’re testing. If you are testing a function to add a column to your mySQL database, it will actually be added! That said, I recommend only using this plugin on a development server were testing code won’t do any damage. You’ve been warned!
Download from the WordPress.org official listing
- Fixed plugin URL error
- Initial public release
Copyright and Disclaimer
Copyright © 2009-2010 by John Kolbert
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.