首页 WordPress函数大全 get_currentuserinfo()

get_currentuserinfo()

2020-05-01 / 4919阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

Warning: This function has been deprecated. Use wp_get_current_user() instead.

get_currentuserinfo()

Populate global variables with information about the currently logged in user.

描述

See also See also

  • wp_get_current_user()

返回

(bool|WP_User) False>WP_User instance otherwise.

大家谈论
    我的见解