Code-Snippets-Functions/Execute a function on a child site/Restrict Content Pro/remove-passwords-do-not-match.error.txt

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' );