Action: um_change_password_page_hidden_fields

do_action( 'um_change_password_page_hidden_fields', $cp_args )

Fires at the start of the password change form. Just after hiddens.

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_page_hidden_fields( $cp_args ) {
    echo '<input type="hidden" name="my_custom_cp_input" value="1" />'
}
add_action( 'um_change_password_page_hidden_fields', 'my_custom_change_password_page_hidden_fields' );