users_can_register_signup_filter()

Check whether users can self-register, based on Network settings.


Return Return

(bool)


Top ↑

Source Source

File: wp-includes/ms-functions.php

function users_can_register_signup_filter() {
	$registration = get_site_option( 'registration' );
	return ( 'all' === $registration || 'user' === $registration );
}


Top ↑

Changelog Changelog

Changelog
Version Description
MU (3.0.0) Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.