user_request_action_confirmed_message filter-hookWP 4.9.6

Filters the message displayed to a user when they confirm a data request.

Usage

add_filter( 'user_request_action_confirmed_message', 'wp_kama_user_request_action_confirmed_message_filter', 10, 2 );

/**
 * Function for `user_request_action_confirmed_message` filter-hook.
 * 
 * @param string $message    The message to the user.
 * @param int    $request_id The ID of the request being confirmed.
 *
 * @return string
 */
function wp_kama_user_request_action_confirmed_message_filter( $message, $request_id ){

	// filter...
	return $message;
}
$message(string)
The message to the user.
$request_id(int)
The ID of the request being confirmed.

Changelog

Since 4.9.6 Introduced.

Where the hook is called

_wp_privacy_account_request_confirmed_message()
user_request_action_confirmed_message
wp-includes/user.php 4502
$message = apply_filters( 'user_request_action_confirmed_message', $message, $request_id );

Where the hook is used in WordPress

Usage not found.