Home Plugins safe php code widget
Safe PHP Code Widget logo

Safe PHP Code Widget

by k0tik on WordPress.org

Adds a secure and simple widget in which you can use PHP and JavaScript code. Also you can use unfiltered HTML or just Text. Admin Use Only.

(0)
The widgets screen showing a Safe PHP Code Widget in use.

The widgets screen showing a Safe PHP Code Widget in use.

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 ( and ?> ) for it to be recognized and executed. Also JavaScript code must be enclosed in the tags, as usual.

Active installations100+
Weekly downloads
14+0.00%
Version1.0
Last updated1/9/2019
WordPress version2.8
Tested up to5.0.22
Tags
codehtmljavascriptphpwidget