Skip to content

Instantly share code, notes, and snippets.

@yuriinalivaiko
Created November 4, 2022 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuriinalivaiko/93da5a43e6cdd3f99346def51b1fac4d to your computer and use it in GitHub Desktop.
Save yuriinalivaiko/93da5a43e6cdd3f99346def51b1fac4d to your computer and use it in GitHub Desktop.
Hook um_change_password_form
<?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