shopp_login_valid

filters the login name validity check on the checkout form.

add_filter( 'shopp_login_valid', [callback] )

@param bool $error true when the login name selected is not valid, and false otherwise.

Description

filters the login name validity check on the checkout form.

This filter must return true to cause an error on this check, and false to prevent the error.

Example

// register filter callback
add_filter('shopp_login_valid', 'shopp_login_valid_filter');

// create filter function
function shopp_login_valid_filter( $error ) {
    // always prevent the validation 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