Support » Plugin: Advanced Woo Search » Remove plugin – MySQL

  • Resolved Paul


    Hi! Great work! Thanks a lot!

    I have a question. Is it possible to remove all entries in the database when you uninstall the plugin? I have about 10 000 products and my database is now really big, because of AWS entries. Is it possible to clear all AWS entries from MySQL?

Viewing 1 replies (of 1 total)
  • Plugin Author ILLID



    You can try to add code below to your theme functions.php file

    add_action('wp', 'aws_remove_tables');
    function aws_remove_tables() {
        global $wpdb;
        $index_table = $wpdb->prefix . 'aws_index';
        $cache_table = $wpdb->prefix . 'aws_cache';
        $wpdb->query("DROP TABLE IF EXISTS {$index_table}");
        $wpdb->query("DROP TABLE IF EXISTS {$cache_table}");

    After tabled are removed you can delete this code.


Viewing 1 replies (of 1 total)
  • The topic ‘Remove plugin – MySQL’ is closed to new replies.