prefix . 'rwpvto_generated_images'; // Escape table name for security (table names cannot be parameterized in DROP TABLE) $rwpvto_table_name = esc_sql( $rwpvto_table_name_raw ); // Table name is escaped and safe - DROP TABLE doesn't support placeholders $wpdb->query( "DROP TABLE IF EXISTS `{$rwpvto_table_name}`" ); // Clear any cached data wp_cache_flush();