| Server IP : 188.114.96.3 / Your IP : 104.23.197.70 Web Server : Apache System : Linux web236.dogado.net 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64 User : h193310 ( 10083) PHP Version : 8.4.12 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/h193310.web236.dogado.net/httpdocs/wp-content/plugins/code-profiler/ |
Upload File : |
<?php
/*
+=====================================================================+
| ____ _ ____ __ _ _ |
| / ___|___ __| | ___ | _ \ _ __ ___ / _(_) | ___ _ __ |
| | | / _ \ / _` |/ _ \ | |_) | '__/ _ \| |_| | |/ _ \ '__| |
| | |__| (_) | (_| | __/ | __/| | | (_) | _| | | __/ | |
| \____\___/ \__,_|\___| |_| |_| \___/|_| |_|_|\___|_| |
| |
| (c) Jerome Bruandet ~ https://nintechnet.com/codeprofiler/ |
+=====================================================================+
*/
if (! defined('WP_UNINSTALL_PLUGIN') ) {
exit('Not allowed');
}
// =====================================================================
// Code Profiler's uninstaller (database + files).
$cp_options = get_option('code-profiler');
global $wp_filesystem;
require_once ABSPATH .'wp-admin/includes/file.php';
WP_Filesystem();
define('CODE_PROFILER_VERSION', '1');
require_once 'lib/helper.php';
if ( $wp_filesystem->exists( WPMU_PLUGIN_DIR .'/'. CODE_PROFILER_MUPLUGIN ) ) {
$wp_filesystem->delete( WPMU_PLUGIN_DIR .'/'. CODE_PROFILER_MUPLUGIN, false, 'f');
}
// Delete options in the DB
delete_option('code-profiler');
// Delete profiles on disk
$wp_filesystem->delete( CODE_PROFILER_UPLOAD_DIR, true, 'd');
return;
// =====================================================================
// EOF