Allow users to register on your site with a WordPress.com account, even though you disallow normal registrations. If you return a string that corresponds to a user role, the user will be given that role.
Parameters
- $new_user_override
(bool | string) Allow users to register on your site with a WordPress.com account. Default to false.
- $user_data
(object | null) An object containing the user data returned from WordPress.com.
Changelog
- Introduced in Jetpack jetpack-2.6.0