Code Duplication    Length = 5-5 lines in 2 locations

includes/admin/donors/class-donor-table.php 1 location

@@ 144-148 (lines=5) @@
141
				<?php submit_button( __( 'Apply', 'give' ), 'secondary', '', false ); ?>
142
				<?php
143
				// Clear active filters button.
144
				if ( ! empty( $start_date ) || ! empty( $end_date ) || ! empty( $donor ) || ! empty( $search ) || ! empty( $status ) || ! empty( $form_id ) ) :
145
					?>
146
					<a href="<?php echo admin_url( 'edit.php?post_type=give_forms&page=give-donors' ); ?>"
147
					   class="button give-clear-filters-button"><?php _e( 'Clear Filters', 'give' ); ?></a>
148
				<?php endif; ?>
149
			</div>
150
		</div>
151

includes/admin/payments/class-payments-table.php 1 location

@@ 219-223 (lines=5) @@
216
				<?php submit_button( __( 'Apply', 'give' ), 'secondary', '', false ); ?>
217
				<?php
218
				// Clear active filters button.
219
				if ( ! empty( $start_date ) || ! empty( $end_date ) || ! empty( $donor ) || ! empty( $search ) || ! empty( $status ) || ! empty( $form_id ) ) :
220
					?>
221
					<a href="<?php echo admin_url( 'edit.php?post_type=give_forms&page=give-payment-history' ); ?>"
222
					   class="button give-clear-filters-button"><?php _e( 'Clear Filters', 'give' ); ?></a>
223
				<?php endif; ?>
224
			</div>
225
		</div>
226