Reply To: Programatically choosing Login Welcome and Membership Options pages.

Forums General Programatically choosing Login Welcome and Membership Options pages. Reply To: Programatically choosing Login Welcome and Membership Options pages.

#515
Scott P
Participant

Deprecated: wp_make_content_images_responsive is deprecated since version 5.5.0! Use wp_filter_content_tags() instead. in /nfs/c09/h02/mnt/138233/domains/s2member.net/html/wp-includes/functions.php on line 4773

Cristián,

That helps immensely! Many thanks! I will test it.

if ( !empty($_REQUEST['_s2member_vars'] && ( ICL_LANGUAGE_CODE=='fr' ) ) ) {
   header('Location: http://mysite.org/'.strtolower(ICL_LANGUAGE_NAME_EN).'-member-options-page/?lang='.ICL_LANGUAGE_CODE);
   exit;
}

In my OP I also was interested in the Login Welcome page redirection. What signals that?

Cheers,
Scott