installed plugin Easy Digital Downloads
version 3.1.0.3
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
<footer class="edd-blocks__download-footer">
|
||||
<?php
|
||||
$args = array(
|
||||
'download_id' => get_the_ID(),
|
||||
'align' => $block_attributes['purchase_link_align'],
|
||||
'show_price' => (bool) $block_attributes['show_price'],
|
||||
);
|
||||
echo EDD\Blocks\Downloads\buy_button( $args );
|
||||
?>
|
||||
</footer>
|
Reference in New Issue
Block a user