| Server IP : 13.126.101.145 / Your IP : 216.73.216.159 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ip-11-115-0-196 6.8.0-1039-aws #41~22.04.1-Ubuntu SMP Thu Sep 11 10:54:48 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.17 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/rentals_updated/wp-content/plugins/user-import-plugin/ |
Upload File : |
<?php
/*
Plugin Name: User/Operator Import Plugin
Description: A plugin to import user data from CSV files and map fields to WordPress user fields.
Version: 2
Author: iTroSys
Developer : Bhaskara
License: GPL2
*/
// Add to your main plugin file
ini_set('memory_limit', '256M');
// ini_set('display_errors', 1);
// ini_set('display_startup_errors', 1);
// error_reporting(E_ALL);
// Prevent direct access to the file
if (!defined('ABSPATH')) exit;
// Include necessary files
include_once plugin_dir_path(__FILE__) . 'class-user-import-data.php';
// Initialize plugin
function user_import_init() {
User_Import_Data::init();
}
register_activation_hook(__FILE__, 'user_import_init');
add_action('plugins_loaded', 'user_import_init');