woocommerce/includes/admin/helper/views/html-section-notices.php

8 lines
237 B
PHP

<?php defined( 'ABSPATH' ) or exit(); ?>
<?php foreach ( $notices as $notice ) : ?>
<div class="notice <?php echo sanitize_html_class( $notice['type'] ); ?>">
<?php echo wpautop( $notice['message'] ); ?>
</div>
<?php endforeach; ?>