updated plugin Easy Digital Downloads
version 3.1.1.4.2
This commit is contained in:
@ -4,7 +4,8 @@
|
||||
'download_id' => get_the_ID(),
|
||||
'align' => $block_attributes['purchase_link_align'],
|
||||
'show_price' => (bool) $block_attributes['show_price'],
|
||||
'direct' => 'direct' === edd_get_download_button_behavior( get_the_ID() ),
|
||||
);
|
||||
echo EDD\Blocks\Downloads\buy_button( $args );
|
||||
echo EDD\Blocks\Downloads\buy_button( $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
?>
|
||||
</footer>
|
||||
|
Reference in New Issue
Block a user