WordPress at a glance
function is not described

_wp_privacy_account_request_confirmed() WP 4.9.6

Update log when privacy request is confirmed.

No Hooks.

Return

Nothing (null).

Usage

_wp_privacy_account_request_confirmed( $request_id );
$request_id(int) (required)
ID of the request.

Code of wp privacy account request confirmed: wp-includes/user.php VER 5.1.1

<?php
function _wp_privacy_account_request_confirmed( $request_id ) {
	$request = wp_get_user_request_data( $request_id );

	if ( ! $request ) {
		return;
	}

	if ( ! in_array( $request->status, array( 'request-pending', 'request-failed' ), true ) ) {
		return;
	}

	update_post_meta( $request_id, '_wp_user_request_confirmed_timestamp', time() );
	wp_update_post(
		array(
			'ID'          => $request_id,
			'post_status' => 'request-confirmed',
		)
	);
}