Hooks

Our plugin provides 3 hooks in case you want to redirect customer to another page after spinning. They are:

'wplwl_redirect_after_spin' value true/false

'wplwl_redirect_after_win' value string url

'wplwl_redirect_after_lost' value string url

An example for how to use the hooks:

add_filter('wplwl_redirect_after_spin', '__return_true', 99);
add_filter('wplwl_redirect_after_win', function ($url){
return 'your_link';
}, 99,1);

Please replace your_link with a valid URL

After configuring the hook, you can add it to your theme function php or follow this instruction to add it using another plugin.

BUT for the hooks we added for you, each hook can only redirect to one page. Which means you only have 1 page for winning and one page for not lucky customers
If you want more, like 6 different pages for 6 rewards, it’s not available.