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.

WP exec PHP


Execute PHP inside posts, pages and text widgets. Add filters and actions using custom feilds. Use <?php .... ?> to execute PHP.

Inspired by PHP Exec by Priyadi Iman Nurcahyo.


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

Contributors & Developers

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


Translate “WP exec PHP” into your language.

Interested in development?

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



  • Removed arguments from hook wp-exec-php-options-page.
  • Fixed breaking comment bug.
  • Added <label>‘s on options page.


  • Complete rewrite of the plugin.
  • Moved from [exec][/exec] to <?php ?>.
  • Hooking onto actions and filters using “Custom Fields”.


  • Initial Release.