apply_filters ( 'jetpack_sso_new_user_override', bool $new_user_override, object $user_data )

Allow users to register on your site with a WordPress.com account, even though you disallow normal registrations.<p>If you return a string that corresponds to a user role, the user will be given that role.</p>

Source file: modules/sso/class.jetpack-sso-helpers.php

View in GitHub

Parameters

$new_user_override

(bool) Allow users to register on your site with a WordPress.com account. Default to false.

$user_data

(object) An object containing the user data returned from WordPress.com.


Changelog

Since: Jetpack 2.6.0


Have a question about this article?

Comments are currently closed for this article, but rest assured we're still here to help! Send us a message and we'll get back to you.

Contact us