Re: Login Welcome Page Conflicts? Watch this video.

Very sorry. You'll need the additional parameters: , 10, 2
Please use this updated code sample:
Please use this updated code sample:
- Code: Select all
<?php
add_filter ("ws_plugin__s2member_login_redirect", "s2_login_redirection", 10, 2);
function s2_login_redirection ($what_s2_says, $vars = array ())
{
return (!$vars["user"]->has_cap ("administrator")) ? true
: /* Else what s2Member says. */ $what_s2_says;
}
?>