Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Eval PHP


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.


  • 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


  • PHP 5.3.0 or newer


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.


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


Este plugin não tem avaliações.

Contribuidores e programadores

“Eval PHP” é software de código aberto. As seguintes pessoas contribuíram para este plugin:


Traduza o “Eval PHP” para o seu idioma.

Interessado no desenvolvimento?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registo de alterações


  • first version with the base functions