Skip to content

@sproutventure /GBS Messages filter
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
function gbs_message_share_max_override()
{
sprintf(__('Help reach the goal of %s buyers (limited quantity of %s)!'), get_deal_threshold(), get_deal_threshold_max() );
}
function gbs_message_share_override()
{
sprintf(__('Help reach the goal of %s buyers!'), get_deal_threshold() );
}
remove_filter('gbs_message_share_max_new' );
remove_filter('gbs_message_share_new' );
add_filter('gbs_message_share_max', 'gbs_message_share_max_override', 99999 );
add_filter('gbs_message_share', 'gbs_message_share_override', 99999 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.