Changeset 49183 for trunk/src/wp-includes/user.php
- Timestamp:
- 10/17/2020 04:03:58 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r49153 r49183 763 763 * @param bool $all Whether to retrieve all sites, or only sites that are not 764 764 * marked as deleted, archived, or spam. 765 * @return arrayA list of the user's sites. An empty array if the user doesn't exist766 * or belongs to no sites.765 * @return object[] A list of the user's sites. An empty array if the user doesn't exist 766 * or belongs to no sites. 767 767 */ 768 768 function get_blogs_of_user( $user_id, $all = false ) { … … 784 784 * @since 4.6.0 785 785 * 786 * @param null| array$sites An array of site objects of which the user is a member.787 * @param int $user_id User ID.788 * @param bool $all Whether the returned array should contain all sites, including789 * those marked 'deleted', 'archived', or 'spam'. Default false.786 * @param null|object[] $sites An array of site objects of which the user is a member. 787 * @param int $user_id User ID. 788 * @param bool $all Whether the returned array should contain all sites, including 789 * those marked 'deleted', 'archived', or 'spam'. Default false. 790 790 */ 791 791 $sites = apply_filters( 'pre_get_blogs_of_user', null, $user_id, $all ); … … 876 876 * @since MU (3.0.0) 877 877 * 878 * @param array$sites An array of site objects belonging to the user.879 * @param int $user_id User ID.880 * @param bool $all Whether the returned sites array should contain all sites, including881 * those marked 'deleted', 'archived', or 'spam'. Default false.878 * @param object[] $sites An array of site objects belonging to the user. 879 * @param int $user_id User ID. 880 * @param bool $all Whether the returned sites array should contain all sites, including 881 * those marked 'deleted', 'archived', or 'spam'. Default false. 882 882 */ 883 883 return apply_filters( 'get_blogs_of_user', $sites, $user_id, $all );
Note: See TracChangeset
for help on using the changeset viewer.