Files
DESKTOP-GBA0BK8\Admin 7c8c8b1c76 first commit
2023-04-08 12:19:53 -04:00

13 lines
433 B
PHP

<?php $item_props = edd_add_schema_microdata() ? ' itemprop="offers" itemscope itemtype="http://schema.org/Offer"' : ''; ?>
<div<?php echo $item_props; ?>>
<div itemprop="price" class="edd_price">
<?php
if ( ! edd_has_variable_prices( get_the_ID() ) ) :
edd_price( get_the_ID() );
else :
echo edd_price_range( get_the_ID() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
endif;
?>
</div>
</div>