wp_set_current_user ($user_id); wp_set_auth_cookie($user_id, $rememberme ); // echo get_current user_id(); // here i am getting new user id; ...
確定! 回上一頁