user_request_action_confirmed action-hook . WP 4.9.6
Fires an action hook when the account action has been confirmed by the user.
Using this you can assume the user has agreed to perform the action by clicking on the link in the confirmation email.
After firing this action hook the page will redirect to wp-login a callback redirects or exits first.
Usage
add_action( 'user_request_action_confirmed', 'action_function_name_4794' ); function action_function_name_4794( $request_id ){ // action... }
- $request_id(int)
- Request ID.
Changelog
Since 4.9.6 | Introduced. |
Where the hook is called
In file: /wp-login.php
user_request_action_confirmed
wp-login.php 1211
do_action( 'user_request_action_confirmed', $request_id );
Where in WP core the hook is used WordPress
wp-login.php 373
add_action( 'user_request_action_confirmed', '_wp_privacy_account_request_confirmed' );
wp-login.php 374
add_action( 'user_request_action_confirmed', '_wp_privacy_send_request_confirmation_notification', 12 ); // After request marked as completed.