Uses
Uses | Description |
---|---|
wp-includes/option.php: get_site_option() | Retrieve an option value for the current network based on name of option. |
Check whether users can self-register, based on Network settings.
(bool)
File: wp-includes/ms-functions.php
function users_can_register_signup_filter() { $registration = get_site_option( 'registration' ); return ( 'all' === $registration || 'user' === $registration ); }
Version | Description |
---|---|
MU (3.0.0) | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/users_can_register_signup_filter