mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-05-03 12:12:25 +08:00
https://help.ithemes.com/hc/en-us/articles/360053126513-Remove-The-Password-Confirm-Field
5 lines
171 B
Text
5 lines
171 B
Text
function ag_rcp_remove_password_mismatch( $posted ) {
|
|
rcp_errors()->remove( 'password_mismatch' );
|
|
}
|
|
|
|
add_action( 'rcp_form_errors', 'ag_rcp_remove_password_mismatch' );
|