Code Duplication    Length = 11-11 lines in 2 locations

includes/admin/class-admin-settings.php 2 locations

@@ 376-386 (lines=11) @@
373
374
					// Section Ends.
375
					case 'sectionend':
376
						if ( ! empty( $value['id'] ) ) {
377
378
							/**
379
							 * Trigger Action.
380
							 *
381
							 * Note: action dynamically fire on basis of field id.
382
							 *
383
							 * @since 1.8
384
							 */
385
							do_action( 'give_settings_' . sanitize_title( $value['id'] ) . '_end' );
386
						}
387
388
						if ( $value['table_html'] ) {
389
							echo '</table>';
@@ 392-402 (lines=11) @@
389
							echo '</table>';
390
						}
391
392
						if ( ! empty( $value['id'] ) ) {
393
394
							/**
395
							 * Trigger Action.
396
							 *
397
							 * Note: action dynamically fire on basis of field id.
398
							 *
399
							 * @since 1.8
400
							 */
401
							do_action( 'give_settings_' . sanitize_title( $value['id'] ) . '_after' );
402
						}
403
404
						break;
405