The call to wp_get_current_user() return WP_User object. ... echo 'Username: ' . $current_user->user_login . '<br />'; echo 'User email: ' .
確定! 回上一頁