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

8 lines
237 B
PHP
Raw Normal View History

2021-12-10 12:03:04 +00:00
<?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; ?>