shopp_login_required

filters the checkout login field validation.

add_filter( 'shopp_login_required', [callback] )

@param bool $error will be true if the login name field is empty, and false otherwise.

Description

filters the checkout login field validation.

This filter returns true to cause an error message to occur, and false to prevent the error.

Example

// register filter callback
add_filter('shopp_login_required', 'shopp_login_required_filter');

// create filter function
function shopp_login_required_filter( $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