wpseek.com
A WordPress-centric search engine for devs and theme authors



users_can_register_signup_filter › WordPress Function

Since
Deprecatedn/a
users_can_register_signup_filter ( No parameters )
Returns:
  • (bool)
Defined at:
Codex:
Change Log:
  • MU

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



Source

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