Server IP : 172.67.216.182 / Your IP : 172.70.143.218 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/wwwroot/lapma.in/wp-content/plugins/everest-forms/ |
Upload File : |
<?php /** * Plugin Name: Everest Forms * Plugin URI: https://everestforms.net/ * Description: Best WordPress Form Plugin to Create Contact Forms, Surveys, Quizzes, Payment Forms, & Custom Forms Using Drag & Drop Form Builder. * Version: 3.2.2 * Author: Everest Forms * Author URI: https://everestforms.net/ * Text Domain: everest-forms * Domain Path: /languages/ * * @package EverestForms */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } // Define EVF_PLUGIN_FILE. if ( ! defined( 'EVF_PLUGIN_FILE' ) ) { define( 'EVF_PLUGIN_FILE', __FILE__ ); } /** * Autoload the packages. * * We want to fail gracefully if `composer install` has not been executed yet, so we are checking for the autoloader. * If the autoloader is not present, let's log the failure and display a nice admin notice. */ $autoloader = __DIR__ . '/vendor/autoload.php'; if ( is_readable( $autoloader ) && version_compare( PHP_VERSION, '7.1.3', '>=' ) ) { require $autoloader; } else { if ( version_compare( PHP_VERSION, '7.1.3', '<=' ) ) { return; } if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) { error_log( // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log sprintf( /* translators: 1: composer command. 2: plugin directory */ esc_html__( 'Your installation of the Everest Forms plugin is incomplete. Please run %1$s within the %2$s directory.', 'everest-forms' ), '`composer install`', '`' . esc_html( str_replace( ABSPATH, '', __DIR__ ) ) . '`' ) ); } /** * Outputs an admin notice if composer install has not been ran. */ add_action( 'admin_notices', function () { ?> <div class="notice notice-error"> <p> <?php printf( /* translators: 1: composer command. 2: plugin directory */ esc_html__( 'Your installation of the Everest Forms plugin is incomplete. Please run %1$s within the %2$s directory.', 'everest-forms' ), '<code>composer install</code>', '<code>' . esc_html( str_replace( ABSPATH, '', __DIR__ ) ) . '</code>' ); ?> </p> </div> <?php } ); return; } // Include the main EverestForms class. if ( ! class_exists( 'EverestForms' ) ) { include_once dirname( __FILE__ ) . '/includes/class-everest-forms.php'; // phpcs:ignore } /** * Main instance of EverestForms. * * Returns the main instance of EVF to prevent the need to use globals. * * @since 1.0.0 * @return EverestForms */ function evf() { return EverestForms::instance(); } // Global for backwards compatibility. $GLOBALS['everest-forms'] = evf();