SHARE
TWEET

Untitled

a guest Jun 16th, 2010 129 Never
  1. <?php
  2. //Put in functions.php
  3. function bow_welcomepack_s2member_redirect( $url, $login_info ) {
  4.   if ( !$login_info['current_user'] )
  5.     return $url;
  6.  
  7.   return dpw_first_login_redirect( $url, '', $login_info['current_user'] );
  8. }
  9. add_filter( 'ws_plugin__s2member_fill_login_redirect_rc_vars', 'bow_welcomepack_s2member_redirect', 10, 2 );
  10. ?>
RAW Paste Data
Top