filters the shopp account show errors override.

add_filter( 'shopp_show_account_errors', [callback] )

@param bool $showerrors when true, errors will appear when customer errors have occurred and the shopp('customer','errors') theme api function has been called.


filters the shopp account show errors override.

This filter should return true (the default) to allow errors to appear when shopp(‘customer’,’errors’) is called. This filter should return false to prevent errors from being displayed.


// register filter callback
add_filter('shopp_show_account_errors', 'shopp_show_account_errors_fltr');

// create filter function
function shopp_show_account_errors_fltr( $showerror ) {
    // prevent errors from displaying
    return false;

See Also

You must be logged in to post a comment.

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