PluginProbe
seQura / trunk
seQura vtrunk
4.3.4 4.3.3 4.3.2 4.3.1 trunk 2.0.0 2.0.10 2.0.11 2.0.12 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 3.0.0 3.0.2 3.0.5 3.0.6 3.0.7 3.1.0 3.1.1 3.2.0 3.2.1 3.2.2 4.0.0 All 30 releases
sequra / templates / admin / notice.php

notice.php in seQura trunk, at templates/admin/notice.php

17 lines 552 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Notice template
4 *
5 * @package SeQura/WC
6 * @var string $args The arguments. Must contains:
7 * - 'notice' with the message.
8 * - 'type' key (use "error", "warning", "success", "info" ).
9 * - 'dismissible' (use true or false).
10 */
11
12 defined( 'WPINC' ) || die;
13 if ( ! isset( $args['notice'], $args['type'], $args['dismissible'] ) ) {
14 return;
15 }
16 ?>
17 <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>