Skip to content

Instantly share code, notes, and snippets.

@yuriinalivaiko
Created November 4, 2022 19:48
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/d49b96f430d76da31c3fbb44fa0085d5 to your computer and use it in GitHub Desktop.
Save yuriinalivaiko/d49b96f430d76da31c3fbb44fa0085d5 to your computer and use it in GitHub Desktop.
Hook um_after_password_reset_fields
<?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