shopp_password_mismatch

filters the validation check on the password and confirm password fields on the checkout form.

add_filter( 'shopp_password_mismatch', [callback] )

@param bool $error will be true when the password and confirm password field on the checkout form do not match, and false when they do match.

Description

filters the validation check on the password and confirm password fields on the checkout form.

This filter should return true to cause an error on this validation check, and false to prevent or override the error.

Example

// register filter callback
add_filter('shopp_password_mismatch', 'shopp_password_mismatch_fltr');

// create filter function
function shopp_password_mismatch_fltr( $error ) {
    // always prevent the error
    return false;
}

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar