| Server IP : 94.16.115.136 / Your IP : 216.73.217.165 Web Server : Apache/2.4.52 (Ubuntu) System : Linux rogerrabbit 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : bkillingseder ( 1001) PHP Version : 8.1.2-1ubuntu2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /srv/web/www/sites/silentroots/html/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 ) );
}
}
}
}
}