| Server IP : 138.197.162.186 / Your IP : 216.73.216.17 Web Server : nginx/1.24.0 System : Linux ubuntu-s-1vcpu-512mb-10gb-tor1 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/yogaensalada-site/wp-content/plugins/insta-gallery/ |
Upload File : |
<?php
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
die( -1 );
}
if ( ! is_multisite() ) {
$qligg = get_option( 'insta_gallery_settings' );
if ( ! empty( $qligg['insta_flush'] ) ) {
delete_option( 'insta_gallery_settings' );
delete_option( 'insta_gallery_setting' );
delete_option( 'insta_gallery_items' );
delete_option( 'insta_gallery_feeds' );
delete_option( 'insta_gallery_token' );
delete_option( 'insta_gallery_accounts' );
delete_option( 'insta_gallery_iac' );
}
}
$cron_jobs = get_option( 'cron' );
if ( ! empty( $cron_jobs ) && is_array( $cron_jobs ) ) {
foreach ( $cron_jobs as $timestamp => $hooks ) {
if ( ! is_array( $hooks ) ) {
continue;
}
foreach ( $hooks as $hook_name => $events ) {
if ( $hook_name === 'qligg_cron_account' ) {
foreach ( $events as $key => $details ) {
$account_id = $details['args'][0];
wp_clear_scheduled_hook( 'qligg_cron_account', array( $account_id ) );
}
}
}
}
}