HEX
Server: Apache
System: Linux ecngx285.inmotionhosting.com 4.18.0-553.79.1.lve.el8.x86_64 #1 SMP Wed Oct 15 17:59:35 UTC 2025 x86_64
User: zeusxp5 (3862)
PHP: 8.3.28
Disabled: NONE
Upload Files
File: /home/zeusxp5/zenoxpressalongside.net/wp-content/plugins/metform/controls/admin-add-new-form.php
<?php 
namespace MetForm\Controls;

defined( 'ABSPATH' ) || exit;

class Admin_Add_New_Form {

    public function init(){
        add_action( 'admin_footer', [$this, 'output_form_editor_contents'] );
    }

    public function output_form_editor_contents(){
        $screen = get_current_screen();
        
        if($screen->id == 'edit-metform-form' || $screen->id == 'metform_page_mt-form-settings'){
            // Include new modal for add new form
            ?>
            <div class="formpicker_iframe_modal">
                <?php include 'form-editor-modal.php'; ?>
            </div>
            <?php
        }
    ?>



    <?php }

}