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.

Eval PHP

Description

With this plugin can added native PHP code within article and blog data. For logged-in user PHP error messages are shown for debugging the PHP code. Each
code block is run like a PHP function. Own functions can be added to the plugin and can be included on other calls. For article writers the execution of
PHP code can be disabled, so the administrator can create different function, that can be used by the writers. Output of the PHP code are included
within the article.

Features

  • inline code on articles / pages
  • function define and include
  • only execution of defined functions
  • any PHP error message is passed to the author
  • disabling PHP error messages
  • execution can be denied by a keyword list

Requirements

  • PHP 5.3.0 or newer

Shortcode

For inline code you can use:

[evalphp] your code [/evalphp]

For included code:

[evalphp include="your includes"]

The include parameter is optional and can be used on both shortcodes.

Installation

  1. Upload the folder to the “/wp-content/plugins/” directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Contributors & Developers

“Eval PHP” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Eval PHP” into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.

Changelog

0.1

  • first version with the base functions