首页 WordPress函数大全 get_users_of_blog()

get_users_of_blog()

2020-05-02 / 3386阅 / 悠然

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

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

get_users_of_blog( int $id = '' )

Get users for the site.

描述

For setups that use the multisite feature. Can be used outside of the multisite feature.

See also See also

  • get_users()

Top ↑

参数

$id

(int)
(Optional)
Site ID.

Default value: ''

返回

(array) List of users that are part of that site ID

大家谈论
    我的见解