<?php

if (!defined('ABSPATH')) exit;

// Get all license
$instant_popup_builder_licenses = Class_instant_popup_builder_license::getLicense();

?>

<?php Instant_Popup_Builder_Admin::ipb_top_header();?>

<!-- updated code -->
<div class="license_wrapper">
    <div class="top_lcense_heading">
        <div class="add_new">
            <h1>License</h1>
        </div>
    </div>
    <div class="ipb_installed_popup license_grids">
        <?php
        foreach ($instant_popup_builder_licenses as $instant_popup_builder_license): ?>

            <?php
            // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.EscapeOutput.OutputNotEscaped -- $instant_popup_builder_license->render_license_html() returns safe HTML
            echo  $instant_popup_builder_license->render_license_html(); ?>
        <?php endforeach; ?>
    </div>
</div>