Created
November 4, 2022 12:54
-
-
Save yuriinalivaiko/95b1410e8631ad77010c718b0dd0c703 to your computer and use it in GitHub Desktop.
Hook um_reset_password_process_hook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Hook: um_reset_password_process_hook | |
* | |
* Type: action | |
* | |
* Description: Fires on reset password form submit after successful validation. | |
* Used in the core to process a reset password request. | |
* | |
* @example https://github.com/ultimatemember/ultimatemember/blob/master/includes/core/class-password.php#L380 | |
* @link https://docs.ultimatemember.com/article/1241-umresetpasswordprocesshook | |
* | |
* @package um\core | |
* @see um\core\Password::form_init() | |
* @see um\core\Password::um_reset_password_process_hook() | |
* @since 2.0 | |
* @deprecated since version 3.0 | |
* | |
* @param array $post Submitted data. | |
*/ | |
function my_reset_password_process( $post ) { | |
// your code here. | |
} | |
add_action( 'um_reset_password_process_hook', 'my_reset_password_process', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment