Created
April 2, 2016 05:08
-
-
Save Creativenauts/b63042580f321810c6864f63563d258e to your computer and use it in GitHub Desktop.
Easy Digital Downloads - Change Button Text To "Download Now" When Price = $0.00
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a custom function I created to display the button text as "Download now" for downloads that price is equal to $0.00.
You should place this in your themes function.php file.
Calling the function in your theme:
<?php get_download_button() ?>