Changeset 17084 for trunk/wp-includes/user.php
- Timestamp:
- 12/20/2010 04:25:35 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/user.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/user.php
r17034 r17084 620 620 621 621 /** 622 * Get users for the blog.623 *624 * For setups that use the multi-blog feature. Can be used outside of the625 * multi-blog feature.626 *627 * @since 2.2.0628 * @uses get_users() for queries629 * @uses $blog_id The Blog id of the blog for those that use more than one blog630 *631 * @param int $id Blog ID.632 * @return array List of users that are part of that Blog ID633 */634 function get_users_of_blog( $id = '' ) {635 if ( empty( $id ) )636 $id = get_current_blog_id();637 638 return get_users( array( 'blog_id' => $id ) );639 }640 641 /**642 622 * Get the blogs a user belongs to. 643 623 *
Note: See TracChangeset
for help on using the changeset viewer.