🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Insert PHP Code Snippet icon
Actively maintained Tested with WP 7.1 #492 most installed plugin #1 in embed php

Insert PHP Code Snippet

Add PHP code to your pages and posts easily using shortcodes.

Active installs90K+50K+ tier
Downloads · 30d63.5K▲ 6.6× vs prev. 30d
Rating4.9/5707 reviews
Health score81/100Excellent
All-time downloads1.8MSince Sep 2013
Support resolved0 / 10% in last 2 months
RequiresWP 5.0PHP any
Overall rank#492of 77,339 plugins
Our verdict

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

3.2K6.4K9.6KSep 4Oct 18Dec 2
Yesterday12,852
Daily average (1y)764
Peak day18,747Mar 16, 2026
Last 12 months278.2K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Insert PHP Code Snippet stands today
Overall popularity #492 of 77,339 WordPress.org plugins Top 0.64%
50K+ installs tier 36 of 321
Next tier: 100K+ installs
Embed php #1 of 1 plugins → insert PHP #1 of 2 plugins → Php code #1 of 1 plugins → Php snippet #1 of 1 plugins → Shortcode #4 of 1,520 plugins →

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
embed php #1 3,190 Best embed php plugins →
insert PHP #3 3,345 Best insert PHP plugins →
php code #3 10,000 Best php code plugins →
php snippet #2 1,758 Best php snippet plugins →
shortcode >100 10,000 Best shortcode plugins →

Version adoption

Share of active sites per release.

  • 1.473.1%
  • 1.325.5%
  • Other1.4%

Rating breakdown

★★★★★★★★★★ 4.9 from 707 reviews

  • 5★95.9%
  • 4★1.4%
  • 3★0.10%
  • 2★0.30%
  • 1★2.3%

About Insert PHP Code Snippet

From the official readme · v1.4.9

Description

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

  1. Extract insert-php-code-snippet.zip to your /wp-content/plugins/ directory.
  2. 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

Full changelog on WordPress.org →

Screenshots

This is the shortcode generator page
This is the shortcode generator page
This is page where you can manage all your snippets
This is page where you can manage all your snippets
The shortcodes are easily accessible in the content editor
The shortcodes are easily accessible in the content editor

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.

Active installs badge Rating badge Health score badge

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

↑↓ to move↵ to open