Action: um_change_password_form

do_action( 'um_change_password_form', $cp_args )

Fires at the end of the password change form.

Parameters:
Name Type Description
$cp_args array

Change password form arguments.

Since:
  • 1.3.x
Source:
Example

Add hidden field at the start of the change password form.

function my_custom_change_password_form( $cp_args ) {
    echo '<input type="hidden" name="my_custom_cp_input" value="1" />'
}
add_action( 'um_change_password_form', 'my_custom_change_password_form' );