Code Duplication    Length = 5-5 lines in 2 locations

includes/emails/class-give-email-tags.php 1 location

@@ 264-268 (lines=5) @@
261
	ob_start();
262
	if ( count( $email_tags ) > 0 ) : ?>
263
		<div class="give-email-tags-wrap">
264
			<?php foreach ( $email_tags as $email_tag ) : ?>
265
				<span class="give_<?php echo $email_tag['tag']; ?>_tag">
266
					<code>{<?php echo $email_tag['tag']; ?>}</code> - <?php echo $email_tag['desc']; ?>
267
				</span>
268
            <?php endforeach; ?>
269
		</div>
270
	<?php
271
	endif;

includes/admin/emails/abstract-email-notification.php 1 location

@@ 632-636 (lines=5) @@
629
630
			if ( count( $email_tags ) && $formatted ) : ob_start() ?>
631
				<ul class="give-email-tags-wrap">
632
					<?php foreach ( $email_tags as $email_tag ) : ?>
633
						<li class="give_<?php echo $email_tag['tag']; ?>_tag">
634
							<code>{<?php echo $email_tag['tag']; ?>}</code> - <?php echo $email_tag['desc']; ?>
635
						</li>
636
					<?php endforeach; ?>
637
				</ul>
638
				<?php
639
				$email_tags = ob_get_clean();