Skip to content

Instantly share code, notes, and snippets.

View jeffaspenburg's full-sized avatar

Jeff Aspenburg jeffaspenburg

View GitHub Profile
<?php
/**
* Shortcode: EDD Product Version
*
* [edd_product_version]
* You can add id="post_id_here" to display the version number of a defined product.
*/
function shortcode_edd_product_version($atts) {
$atts = shortcode_atts(array(