Skip to content

Instantly share code, notes, and snippets.

@yuriinalivaiko
Last active November 4, 2022 20:32
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/3dce0ece97c821a17f54ba65241b0522 to your computer and use it in GitHub Desktop.
Save yuriinalivaiko/3dce0ece97c821a17f54ba65241b0522 to your computer and use it in GitHub Desktop.
Hook um_reset_password_form
<?php
/**
* Hook: um_reset_password_form
*
* Type: action
*
* Description: Fires after rendering fields and buttons in the password reset form.
* May be used to display custom content in the password reset form footer.
*
* @example https://github.com/ultimatemember/ultimatemember/blob/master/templates/password-reset.php#L131
* @link https://docs.ultimatemember.com/article/1239-umresetpasswordform
*
* @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_reset_password_form( $args ) {
// your code here.
}
add_action( 'um_reset_password_form', 'my_reset_password_form', 10, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment