Insert PHP Code Snippet
Add PHP code to your pages and posts easily using shortcodes.
Safe pick
Yes — Insert PHP Code Snippet is a safe, well-maintained plugin to use in 2026. It runs on 90K+ sites, is rated 4.9/5 and was last updated 2 days ago, and scores 81/100 on our health check.
- Proven at scale on 90K+ active sites
- Loved by users — 4.9/5 from 707 reviews
- Actively developed — last update 2 days ago
- Tested with the latest WordPress (7.1)
- Momentum — downloads up 564.8% vs the previous 30 days
Daily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Insert PHP Code Snippet stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| embed php | #1 |
| insert PHP | #3 |
| php code | #3 |
| php snippet | #2 |
| shortcode | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.9 from 707 reviews
About Insert PHP Code Snippet
From the official readme · v1.4.9Description
A quicklook into Insert PHP Code Snippet
★ Convert PHP snippets to shortcodes
★ Insert PHP code easily using shortcode
★ Support for PHP snippet shortcodes in widgets
★ Dropdown menu in TinyMCE editor to pick snippet shortcodes easily
Features in Detail
Insert PHP Code Snippet allows you to create shortcodes corresponding to PHP code snippets. You can create a shortcode corresponding to any random PHP code such as ad codes, login validation etc. and use the same in your posts, pages or widgets.
The shortcodes generated using the plugin are easily available as a dropdown in the standard wordpress content editor as well as in widget settings, thereby giving you ease of integrating your PHP snippets with your posts and pages.
About
Insert PHP Code Snippet is developed and maintained by XYZScripts. For any support, you may contact us.
★ Insert PHP Code Snippet User Guide
★ Insert PHP Code Snippet FAQ
More Information
★ Insert PHP Code Snippet User Guide
★ Insert PHP Code Snippet FAQ
Troubleshooting
Please read the FAQ first if you are having problems.
Requirements
WordPress 5.0+
PHP 7+
Feedback
We would like to receive your feedback and suggestions. You may submit them at our support desk.
Installation
★ Insert PHP Code Snippet User Guide
★ Insert PHP Code Snippet FAQ
- Extract
insert-php-code-snippet.zipto your/wp-content/plugins/directory. - In the admin panel under plugins activate Insert PHP Code Snippet.
If you need any further help, you may contact our support desk.
Changelog
1.4.9
- Improved security, input validation, and data sanitization.
- Enhanced database query handling and sorting security.
- Improved nonce verification and capability checks.
- Fixed minor bugs and improved WordPress/PHP compatibility.
1.4.8
- Added Unicode support for snippet titles
- Improved and refined the plugin UI for a better user experience.
- General improvements and stability fixes.
1.4.7
- PHP 8.3 compatibility improvements.
- Minor code hardening and stability fixes.
1.4.6
- Fixed duplicate “Snippet Preview” pages issue in WordPress Multisite environments
- Added a setting for manual shortcode usage display and tracking
- Minor bug fixes
1.4.5
- Improved snippet list UI and placement clarity
- Added usage details for snippets used via shortcode
- Minor bug fixes
1.4.4
- Added snippet description field
- Fixed a security issue
- Minor bug fixes and compatibility updates
- CSS & JS files now versioned to fix caching
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
FAQ
Insert PHP Code Snippet: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Insert PHP Code Snippet free?
Yes. Insert PHP Code Snippet is free to download and use from the official WordPress.org plugin directory.
Is Insert PHP Code Snippet safe to use in 2026?
Yes — Insert PHP Code Snippet is a safe, well-maintained plugin to use in 2026. It runs on 90K+ sites, is rated 4.9/5 and was last updated 2 days ago, and scores 81/100 on our health check.
How many websites use Insert PHP Code Snippet?
Insert PHP Code Snippet is active on 90K+ WordPress websites and has been downloaded 1,779,590 times since it launched in September 2013. It was downloaded 63,462 times in the last 30 days.
Does Insert PHP Code Snippet work with WordPress 7.1?
Yes. The developer has tested Insert PHP Code Snippet up to WordPress 7.1.5, the latest release. It requires WordPress 5.0 or newer.
When was Insert PHP Code Snippet last updated?
The latest version, 1.4.9, was released on December 1, 2026 (2 days ago).
Who makes Insert PHP Code Snippet?
Insert PHP Code Snippet is developed and maintained by f1logic.
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card



