Server : LiteSpeed
System : Linux premium152.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : idesfsze ( 1473)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /home/idesfsze/public_html/wp-content/plugins/youtube-embed-plus/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : /home/idesfsze/public_html/wp-content/plugins/youtube-embed-plus/uninstall.php
<?php

// if uninstall.php is not called by WordPress, die
if (!defined('WP_UNINSTALL_PLUGIN'))
{
    die;
}

// if the option to do this is checked
$all_yt_options = get_option('youtubeprefs_alloptions');
if (!empty($all_yt_options['uninstall_data']))
{
    global $wpdb;

    // delete main options
    delete_option('youtubeprefs_alloptions');

    // delete backup options
    $backup_plugin_options = $wpdb->get_results("SELECT option_name FROM $wpdb->options WHERE option_name LIKE 'youtubeprefs\_alloptions\_backup\_%'");
    foreach ($backup_plugin_options as $option)
    {
        delete_option($option->option_name);
    }

    // delete vi data
    $vi_table_name = $wpdb->prefix . 'vi_consent_logs';
    $wpdb->query("DROP TABLE IF EXISTS $vi_table_name");
}

F1le Man4ger