Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example for creating shortcode
<?php
function download_link(){
return 'Get Best Variation Swatches for WooCommerce <a rel="nofollow" href="https://getwooplugins.com/plugins/woocommerce-variation-swatches/">Download Now!</a>';
}
add_shortcode('download', 'download_link');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment