shopp_login_exists

filters the form validation on new the login field.

add_filter( 'shopp_login_exists', [callback] )

@param bool $error if a proposed new login name already exists, will be true, indicating an error.

Description

filters the form validation on new the login field.

This filter should return true to cause an error on an existing login name, and false to prevent the error.

Example

// register filter callback
add_filter('shopp_login_exists', 'shopp_login_exists_filter');

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