| Server IP : 31.214.178.99 / Your IP : 216.73.216.180 Web Server : Apache System : Linux hostingsrv1.dondominio.com 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 User : ( 924851) PHP Version : 8.5.13 Disable Function : system,passthru,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,exec,ini_alter,show_source,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,eval MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /hosting/www/c3consulting.site/public/wp-content/plugins/burst-statistics/ |
Upload File : |
<?php
/**
* Burst Uninstall
*
* @package Burst
* @since 2.0.1
*/
// If uninstall is not called from WordPress, exit.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit();
}
global $wpdb;
// get all burst transients.
$burst_results = $wpdb->get_results(
"SELECT `option_name` AS `name`, `option_value` AS `value`
FROM $wpdb->options
WHERE `option_name` LIKE '%transient_burst%'
ORDER BY `option_name`",
'ARRAY_A'
);
// loop through all burst transients and delete.
foreach ( $burst_results as $burst_key => $burst_value ) {
$burst_transient_name = substr( $burst_value['name'], 11 );
delete_transient( $burst_transient_name );
}
$burst_mu_plugin = trailingslashit( WPMU_PLUGIN_DIR ) . 'burst_rest_api_optimizer.php';
if ( file_exists( $burst_mu_plugin ) ) {
wp_delete_file( $burst_mu_plugin );
}