search-reset.php
27 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Search reset block on forms overview page. |
| 4 | * |
| 5 | * @since 1.7.2 |
| 6 | * |
| 7 | * @var string $message Message to display inside the Search reset block. |
| 8 | */ |
| 9 | |
| 10 | if ( ! defined( 'ABSPATH' ) ) { |
| 11 | exit; |
| 12 | } |
| 13 | |
| 14 | ?> |
| 15 | <div id="wpforms-reset-filter"> |
| 16 | <?php |
| 17 | echo wp_kses( |
| 18 | $message, |
| 19 | [ |
| 20 | 'strong' => [], |
| 21 | 'em' => [], |
| 22 | ] |
| 23 | ); |
| 24 | ?> |
| 25 | <i class="reset fa fa-times-circle" title="<?php esc_html_e( 'Clear search and return to All Forms', 'wpforms-lite' ); ?>"></i> |
| 26 | </div> |
| 27 |