wp_get_current_user () 调用返回WP_User 对象. $current_user = wp_get_current_user() /** * 如果想更安全的使用,可以先判断获取的用户是非 ...
確定! 回上一頁