woocommerce/includes/admin/helper/views/html-section-notices.php
2021-12-10 12:03:04 +00:00

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; ?>