In this article

filter

jetpack_sso_new_user_override

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

How to use this hook

See “How to use actions and filters to customize Jetpack”.