This plugin is outdated and might not be supported anymore
Safe PHP Code Widget

Safe PHP Code Widget

By k0tik
Details
View on WordPress

The usual Text widget allows you to insert arbitrary Text and/or HTML code. This allows that too, but also parses any PHP or JavaScript code in the text widget and executes it.

This plugin is based on “PHP Code Widget”, but now available for use by site administrators ONLY, which makes it more secure.

All PHP code must be enclosed in the standard php opening and closing tags ( <?php and ?> ) for it to be recognized and executed. Also JavaScript code must be enclosed in the <script> and </script> tags, as usual.

Details

Plugin code:
safe-php-code-widget
Plugin version:
1.0
Author:
Outdated:
Yes
WP version:
2.8 or higher
PHP version:
or higher
Test up to WP version:
5.0.22
Total installations:
70
Last updated:
2019-01-09
Rating:
Times rated:
0
code
html
javascript
php
widget