Function: add_existing_user_to_blog

add_existing_user_to_blog( array $details )

Add a user to a blog based on details from maybe_add_existing_user_to_blog().

Parameters

Name Type(s) Default Value Description
$details array false

Returns

true | WP_Error | void

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.