Function edd_get_purchase_link
Get Purchase Link
Builds a Purchase link for a specified download based on arguments passed. This function is used all over EDD to generate the Purchase or Add to Cart buttons. If no arguments are passed, the function uses the defaults that have been set by the plugin. The Purchase link is built for simple and variable pricing and filters are available throughout the function to override certain elements of the function.
$download_id = null, $link_text = null, $style = null, $color = null, $class = null
Package: EDD\Functions\Templates
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.0
Located at includes/template-functions.php
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.0
Located at includes/template-functions.php
Parameters summary
array |
$args = array() |
Arguments for display |
Return value summary
string
|
$purchase_form |