Code Duplication    Length = 5-5 lines in 2 locations

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

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

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;