<?php
if (!defined('ABSPATH')) {
    exit;
}

$active_tab = isset($_GET['tab']) ? sanitize_key($_GET['tab']) : 'general';

$settings_fields = apply_filters('ffl_menu_settings_fields', array());
?>
<div class="postbox" style="padding: 10px;margin-top: 10px">
    <!--  template file for admin settings. -->
    <form action="" method="POST">
        <div class="section">
            <?php
            wp_nonce_field('setting_submit_nonce', 'setting_submit_fields');
            load_ffl_html_fields($settings_fields[$active_tab]);
            ?>
        </div>
    </form>
</div>