Created
November 4, 2022 20:12
-
-
Save yuriinalivaiko/93da5a43e6cdd3f99346def51b1fac4d to your computer and use it in GitHub Desktop.
Hook um_change_password_form
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_change_password_form | |
* | |
* Type: action | |
* | |
* Description: Fires after rendering fields and buttons in the change password form. | |
* This hook may be used to display custom content in the change password form footer. | |
* | |
* @example https://github.com/ultimatemember/ultimatemember/blob/master/templates/password-change.php#L75 | |
* @link https://docs.ultimatemember.com/article/1078-umchangepasswordform | |
* | |
* @package um\templates | |
* @see templates/password-change.php | |
* @since 2.0 | |
* @deprecated since version 3.0 | |
* | |
* @param array $args Change password form shortcode arguments. | |
*/ | |
function my_change_password_form( $args ) { | |
// your code here. | |
} | |
add_action( 'um_change_password_form', 'my_change_password_form', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment