Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/ms-functions.php | apply_filters | 173 | /** * Filters whether a user should be added to a site. * * @since 4.9.0 * * @param true|WP_Error $retval True if the user should be added to the site, error * object otherwise. * @param int $user_id User ID. * @param string $role User role. * @param int $blog_id Site ID. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
true|WP_Error | $retval | True if the user should be added to the site, error |
int | $user_id | User ID. |
string | $role | User role. |
int | $blog_id | Site ID. |