Created
November 4, 2022 19:48
-
-
Save yuriinalivaiko/d49b96f430d76da31c3fbb44fa0085d5 to your computer and use it in GitHub Desktop.
Hook um_after_password_reset_fields
This file contains 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_after_password_reset_fields | |
* | |
* Type: action | |
* | |
* Description: Fires after rendering fields in the password reset form. | |
* This hook may be used to add custom fields or display custom content before the password reset form buttons. | |
* | |
* @example https://github.com/ultimatemember/ultimatemember/blob/master/templates/password-reset.php#LC99 | |
* @link https://docs.ultimatemember.com/article/1022-umafterpasswordresetfields | |
* | |
* @package um\templates | |
* @see templates/password-reset.php | |
* @since 2.0 | |
* @deprecated since version 3.0 | |
* | |
* @param array $args Password reset form shortcode arguments. | |
*/ | |
function my_after_password_reset_fields( $args ) { | |
// your code here. | |
} | |
add_action( 'um_after_password_reset_fields', 'my_after_password_reset_fields', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment