ID で現在ログインしているユーザーのメールを取得して表示するにはどうすればよいですか。Buddypress を使用しています。
<?php
global $bp;
function bp_member_user_email() {
echo $bp->bp_get_member_user_email();
}
$bp->bp_member_user_email();
?>
ID で現在ログインしているユーザーのメールを取得して表示するにはどうすればよいですか。Buddypress を使用しています。
<?php
global $bp;
function bp_member_user_email() {
echo $bp->bp_get_member_user_email();
}
$bp->bp_member_user_email();
?>