Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/user.php | apply_filters | 1033 | /** * Filters the list of sites a user belongs to. * * @since MU (3.0.0) * * @param object[] $sites An array of site objects belonging to the user. * @param int $user_id User ID. * @param bool $all Whether the returned sites array should contain all sites, including * those marked 'deleted', 'archived', or 'spam'. Default false. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
object[] | $sites | An array of site objects belonging to the user. |
int | $user_id | User ID. |
bool | $all | Whether the returned sites array should contain all sites, including |