Directory / plugin

Code Block ScratchPad

v1.0.1 · by Alan C Brown

A simple scratchpad/testbed for testing, and installing small additions to, pre-existing PHP/JS/CSS code for wordpress websites and add-ins.

View on WordPress.org

About this plugin

This plug-in makes it simple to test and/or install small wordpress PHP/JS/CSS code snippets in a relatively safe manner without the need to use a full PHP debugger or directly edit pre-existing plugin code.

Basic Features

  • Enter simple PHP/JS expressions and quickly evaluate them to verify they function as expected.
  • Create/install top-level php functions eg: for use in wordpress pod fields.
  • Add bespoke code and associate them with wordpress action/filters
  • Do almost anything that’s possible with a wordpress plugin
  • Test and add custom javascript and CSS to website pages
  • Preview the effects of changes before commiting in wordpress preview mode
  • Provides protection against inadvertently killing sites due to basic coding errors

Plugin tags