PluginProbe
Filter Everything — WordPress & WooCommerce Filters / 1.9.5
Filter Everything — WordPress & WooCommerce Filters v1.9.5
1.9.6 1.9.5 1.9.4 1.9.3 1.9.2.2 1.9.2.1 trunk 1.2.1 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.4.1 1.4.4 1.4.5 1.4.8 1.4.9 1.5.0 1.5.1 1.6.0 1.6.1 1.6.2 1.6.3 All 51 releases
filter-everything / views / admin / filter-apply-button.php

filter-apply-button.php in Filter Everything — WordPress & WooCommerce Filters 1.9.5, at views/admin/filter-apply-button.php

34 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined('ABSPATH') ) {
4 exit;
5 }
6
7 $css_class = 'wpc-filter-item wpc-filter-not-listed wpc-filter-item-apply-button wpc-filter-' . $apply_button['value'];
8 $css_class .= ( isset( $use_apply_button['value'] ) && $use_apply_button['value'] === 'yes' ) ? ' wpc-opened' : '';
9 $apply_text = ( isset( $apply_button_text['value'] ) ) ? $apply_button_text['value'] : esc_html__('Apply', 'filter-everything');
10 $reset_text = ( isset( $reset_button_text['value'] ) ) ? $reset_button_text['value'] : esc_html__('Reset', 'filter-everything');
11
12 ?>
13 <div id="wpc-filter-id-apply-button" class="<?php echo esc_attr( $css_class ); ?>" data-fid="apply-button">
14 <div class="wpc-filter-head">
15 <div class="wpc-filter-title ui-sortable-handle">
16 <ul class="wpc-custom-row wpc-filter-item-labels">
17 <li class="wpc-filter-order" title="<?php echo $apply_button_order; ?>"><span class="wpc-filter-sortable-handle dashicons dashicons-menu"></span></li>
18 <li class="wpc-filter-label"><span class="wpc-button-style wpc-button-apply"><?php echo $apply_text; ?></span></li>
19 <li class="wpc-filter-label"><span class="wpc-button-style wpc-button-reset"><?php echo $reset_text; ?></span></li>
20 </ul>
21 </div>
22 </div>
23 <div class="wpc-filter-body">
24 <div class="wpc-filter-main-fields">
25 <table class="wpc-form-fields-table wpc-filter-apply-button">
26 <tr class="wpc-filter-tr">
27 <td colspan="2">
28 <?php echo flrt_render_input( $apply_button ); ?>
29 </td>
30 </tr>
31 </table>
32 </div>
33 </div>
34 </div>