Tried to figure out the filter myself but do not know the specifics of hooks and filters. Here is what I came up with to offer 2 different cashback amounts based on the persons group membership.
add_filter( ‘woo_wallet_cashback_amount’, ‘change_woo_wallet1’ );
function change_woo_wallet1() {
echo do_shortcode (‘[groups_member group=”Registered”]’);
$cashback_amount=2;
echo do_shortcode (‘ [/groups_member] ‘);
echo do_shortcode (‘[groups_member group=”Elite”]’);
$cashback_amount=4;
echo do_shortcode (‘ [/groups_member] ‘);
}
The only thing I could find is group membership shortcodes so I tried to implement it into the code. Not sure if it will work. Any help or suggestions on your end would be appreciated.
Thank you.