<?php
/**
 * Render extensions table
 */

defined( 'ABSPATH' ) || exit;

$extensions = $this->get_extensions();

wp_nonce_field( 'manage_cf7_redirect', '_wpcf7nonce' );
?>

<div class="extensions-list">
	<div class="extensions">
		<?php if ( $extensions ) : ?>
			<?php foreach ( $extensions as $extension_slug => $extension ) : ?>
				<div class="extension">
					<?php
					// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
					echo $extension->get_action_promo();
					?>
				</div>
			<?php endforeach; ?>
		<?php endif; ?>
	</div>
</div>
