# sequra/3.2.1/templates/admin/notice.php

seQura, version 3.2.1. 17 lines.

- Page: https://pluginprobe.com/plugins/sequra/3.2.1/code/templates/admin/notice.php
- Raw: https://pluginprobe.com/plugins/sequra/3.2.1/raw/templates/admin/notice.php
- Modified: 2024-10-29T15:19:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/sequra/3.2.1/code/templates/admin/notice.php#L10-L20`.

```php
<?php
/**
 * Notice template
 *
 * @package    SeQura/WC
 * @var string $args The arguments. Must contains:
 * - 'notice' with the message. 
 * - 'type' key (use "error", "warning", "success", "info" ).
 * - 'dismissible' (use true or false).
 */

defined( 'WPINC' ) || die;
if ( ! isset( $args['notice'], $args['type'], $args['dismissible'] ) ) {
	return;
}
?>
<div class="notice notice-<?php echo esc_html( $args['type'] ) . ( ! empty( $args['dismissible'] ) ? ' is-dismissible' : '' ); ?>"><p><?php echo wp_kses_post( $args['notice'] ); ?></p></div>
```
