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. Shortcode Callback
Shortcode Callback icon

Shortcode Callback

Adds a [callback] shortcode that can trigger PHP code so you can insert custom/complex things into your pages/posts.

By digitalpoint·PHP·Free
5(1 reviews)
·10 active installs·Updated 10 years ago
DownloadVisit HomepageCompare

As of April 2026, Shortcode Callback is a WordPress php plugin with 10 active installations and a 5/5 rating from 1 reviews. It has been downloaded 2.1K+ times in total. Requires WordPress 2.5+ and PHP false+. Available on WordPress.org since 2015. Last updated 10 years ago — may have compatibility concerns. Top alternative: WPCode – Insert Headers and Footers +….

5/51 reviews
10active installs
2.1K+total downloads
11 yearssince 2015

Overview

The Shortcode Callback plugin allows you to use a [callback] shortcode to execute arbitrary PHP code wherever the shortcode is used.

Usage

Execute someFunction() and insert whatever it returns with the following shortcode:
[callback function=”someFunction”]

Example shortcode to include a PHP file (the path is relative to WordPress’ ABSPATH), then insert the results of someFunction() where you used the shortcode:
[callback include=”custom/filetoinclude.php” function=”someFunction”]

Shortcode example that includes a PHP file (the path is relative to WordPress’ ABSPATH), then passes a paramter to someFunction() and returns the results where you used the shortcode:
[callback function=”someFunction” include=”custom/f…

Read full description on WordPress.org

Ratings & Reviews

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

Compatibility

WordPress2.5+ requiredTested up to 4.3.0
PHPfalse+ required

Top Alternatives to Shortcode Callback

WPCode – Insert Headers and Footers + Custom Code Snippets – 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.0

  • Initial release
View full changelog on WordPress.org

Contributors

digitalpointdigitalpoint
Plugin Info
Version
1.0.0
Last Updated
Aug 17, 2015
WP Requires
2.5+
Tested Up To
4.3.0
PHP Requires
false+
Active Installs
10
Downloads
2.1K+
Added
Jun 18, 2015
Business
Free

Tags

phpbbcodecallbackshortcodeshort code

Developer

D
digitalpoint
4 plugins0.0M+ total installs
View all plugins →

Quick Compare

Shortcode Callback vs WPCode – Insert Headers and Footers +…→Shortcode Callback vs Code Snippets→Shortcode Callback vs PHP Compatibility Checker→

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