wordpress problem Unable to set user id in cookie

by deepak   Last Updated July 16, 2018 12:08 PM

$test=wp_set_auth_cookie($user_save_flag );
echo $test;
$test2=wp_set_current_user( $user_save_flag );
echo $test.$test2;
$custom_page_url = 'http://localhost/wordpress-backup';

wp_redirect( $custom_page_url );


Related Questions


how to make wordpress remember my choice

Updated September 01, 2017 17:08 PM