Ripro主题QQ&微信登录跳转至跳转邮箱资料补充(第二版)

安装教程:

function jsemail(){  //补充邮箱资料
	if ( is_user_logged_in() ) {
	global $current_user;
	$url = "https://www.yitesucai.com/info-edit";
	if(substr($current_user->user_email,-7) == "@no.com" ){
		echo "<SCRIPT LANGUAGE='javascript'>"; 
		echo "if(this.location.href != '$url'){";
		echo "location.href='$url'"; 
		echo "}</SCRIPT>"; 
	}
	}
}

支付确认
需要支付
¥20
二维码刷新中