PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. PHP
  4. Safe PHP Code Widget
Safe PHP Code Widget icon

Safe PHP Code Widget

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.

By k0tik·PHP·Free
00
·70 active installs·Updated 7 years ago
DownloadVisit HomepageCompare

As of April 2026, Safe PHP Code Widget is a WordPress php plugin with 70 active installations and a 0/5 rating0. It has been downloaded 2.3K+ times in total. Requires WordPress 2.8+ and PHP false+. Available on WordPress.org since 2019. Last updated 7 years ago — may have compatibility concerns. Top alternative: WPCode – Insert Headers and Footers +….

0/5Rating
70active installs
2.3K+total downloads
7 yearssince 2019

Overview

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.

Read full description on WordPress.org

Screenshots

Ratings & Reviews

00 reviews
5 ★
0
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress2.8+ requiredTested up to 5.0.25
PHPfalse+ required

Top Alternatives to Safe PHP Code Widget

WPCode &#8211; Insert Headers and Footers + Custom Code Snippets &#8211; WordPress Code Manager icon
WPCode – Insert Headers and Footers +…
4.93.0M+ installsUpdated 2 weeks ago
ViewCompare
Code Snippets icon
Code Snippets
4.71.0M+ installsUpdated 1 month ago
ViewCompare
PHP Compatibility Checker icon
PHP Compatibility Checker
2.7200K+ installsUpdated 2 years ago
ViewCompare
PHP Code Widget icon
PHP Code Widget
4.790K+ installsUpdated 4 years ago
ViewCompare
Error Log Monitor icon
Error Log Monitor
4.320K+ installsUpdated 6 months ago
ViewCompare
View all php plugins →

Frequently Asked Questions

Changelog

1.0

  • First version in the repository
View full changelog on WordPress.org

Contributors

k0tikk0tik
Plugin Info
Version
1.0
Last Updated
Jan 9, 2019
WP Requires
2.8+
Tested Up To
5.0.25
PHP Requires
false+
Active Installs
70
Downloads
2.3K+
Added
Jan 9, 2019
Business
Free

Tags

phpcodehtmlwidgetjavascript

Developer

K
k0tik
1 plugins0.0M+ total installs
View all plugins →

Quick Compare

Safe PHP Code Widget vs WPCode – Insert Headers and Footers +…→Safe PHP Code Widget vs Code Snippets→Safe PHP Code Widget vs PHP Compatibility Checker→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.