Server IP : 213.35.126.208 / Your IP : 216.73.216.239 Web Server : Apache/2.4.37 (Oracle Linux Server) OpenSSL/1.1.1k System : Linux ust-wp1-prod 5.15.0-308.179.6.el8uek.x86_64 #2 SMP Wed Apr 23 10:46:57 PDT 2025 x86_64 User : tomasFtp ( 1007) PHP Version : 8.4.8 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/home/pjahs/public_html/wp-content/plugins/metform/controls/ |
Upload File : |
<?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 } }