Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rafiahmedd/0d9b8b3660e29179014b62a30e8c2739 to your computer and use it in GitHub Desktop.
Save rafiahmedd/0d9b8b3660e29179014b62a30e8c2739 to your computer and use it in GitHub Desktop.
Hash password if the user status is unconfirm
add_filter( 'fluentform_response_render_input_password', function($response_field_key, $field, $formId, $isHtml){
$hash = str_repeat("*", strlen($response_field_key)).' '. __('(truncated)', 'fluentform');
return $hash;
} , 10, 4);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment