woocommerce/templates/shop/errors.php

11 lines
193 B
PHP

<?php
/**
* Error messages
*/
if ( ! $errors ) return;
?>
<ul class="woocommerce_error">
<?php foreach ( $errors as $error ) : ?>
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>