woocommerce/templates/shop/messages.php

16 lines
276 B
PHP

<?php
/**
* Show messages
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
if ( ! $messages ) return;
?>
<?php foreach ( $messages as $message ) : ?>
<div class="woocommerce_message"><?php echo $message; ?></div>
<?php endforeach; ?>