WordPress判断是否登录 WordPress判断是否登录 04/14, 2020 东方皓 Comments 0 Comment if (is_user_logged_in()) { echo "亲爱的会员,您已经登陆!"; } else { echo "欢迎光临,请登陆查看!"; };