SHARE
TWEET

Untitled

a guest Jun 14th, 2010 113 Never
  1. <?php
  2. //Try in functions.php
  3. function bow_welcomepack_s2member_redirect( $url ) {
  4.   if ( !$WPUser = get_currentuserinfo() )
  5.     return $url;
  6.  
  7.   return dpw_first_login_redirect( $url, '', $WPUser );
  8. }
  9. add_filter( 'ws_plugin__s2member_fill_login_redirect_rc_vars', 'bow_welcomepack_s2member_redirect', 10, 1 );
  10. ?>
RAW Paste Data
Top