Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View GBS Messages filter
1 2 3 4 5 6 7 8 9 10 11 12 13
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.