<?php
/**
 * @author     FutrX
 * @year       2023
 * @package    NoMoreBots
 * @subpackage ${NAMESPACE}
 */

$blocked_ips = get_option( NOMOREBOTS_HONEYPOT_FIELD_PREFIX . NOMOREBOTS_BLOCKED_IPS_META_KEY, array() );
?>
<h2>Blocked IPs</h2>
<table>
	<tr>
		<th>IP</th>
	</tr>
	<?php foreach ( $blocked_ips as $ip => $time ) : ?>
		<tr>
			<td><?php echo esc_html( $ip ); ?></td>
		</tr>
	<?php endforeach; ?>
</table>
