WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Developer's CodeBox

Gives WordPress developers an easy way to test their functions and code in a live WordPress environment.

The Developer's CodeBox is a WordPress plugin for developers! It adds a textarea that allows you to try out HTML, PHP, or Javascript code. It is integrated with the Easy Area syntax highlighting for extra usefulness! This is great for trying out code snippets before integrating them with your larger project or plugin. It supports native PHP using proper syntax (eg: ), and best of all: it supports native WordPress functions like get_bloginfo('template_url');

Why did I make this plugin? 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.

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!

This plugin uses the syntax highlighting script found here: http://www.cdolivet.com/index.php?page=editArea

Requires: 2.7 or higher
Compatible up to: 2.9.2
Last Updated: 2010-3-30
Downloads: 1,469

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1