WordPress at a glance
function is not described

delete_all_user_settings() WP 2.7.0

Delete the user settings of the current user.

No Hooks.

Return

Nothing (null).

Usage

delete_all_user_settings();

Code of delete all user settings: wp-includes/option.php VER 5.1.1

<?php
function delete_all_user_settings() {
	if ( ! $user_id = get_current_user_id() ) {
		return;
	}

	update_user_option( $user_id, 'user-settings', '', false );
	setcookie( 'wp-settings-' . $user_id, ' ', time() - YEAR_IN_SECONDS, SITECOOKIEPATH );
}