query( "DROP TABLE IF EXISTS {$wpdb->prefix}bbquote_sessions" ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery delete_option( 'bbquote_settings' ); delete_option( 'bbquote_page_id' ); delete_option( 'bbquote_db_version' ); wp_clear_scheduled_hook( 'bbquote_cleanup_sessions' ); // Capabilities are removed only together with the quotes' admin screen; quotes themselves stay. require_once __DIR__ . '/includes/Install.php'; \BoringQuote\Install::remove_capabilities();