WordPress plugin intelligence profile

Shortcode Callback

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

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.3
Current version1.0.0
WordPress coverageTested up to WordPress 4.3
Minimum stackWP 2.5 · PHP —
Directory statusactive
Last directory update17 Aug 201511y ago
Active installations10Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Shortcode Callback version 1.0.0 as active, updated 11y ago and tested up to WordPress 4.3.

Overview

About this plugin

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:

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:

php” param=”something”]

The format to call a class/method with the shortcode is exactly the same as above, except you specify the class::method in the “function” attribute of the shortcode.

php” param=”something”]

There is an example (with PHP code) over here.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • short code
  • bbcode
  • callback
  • php
  • shortcode
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.3

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.3.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.3
Minimum requirementsWordPress 2.5 · PHP not listed
Update activity17 Aug 201511y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.