rfe: not require users_can_register
-
Hello,
I would like to use this plugin with ‘users_can_register’ option disabled for our site. Could you please add a setting to not require this? Or even a filter where it could be disabled, eg.:
`
if ( apply_filters( ‘wpau_require_user_can_register’, ! get_option( ‘users_can_register’ ) ) ) {
require_once ‘noop.php’;
return;
}
`
But I’m working with a theme where I need that disabled, and plugins load earlier, so I can’t use such a filter – hence a setting in this plugin would be nicer, but I could create a plugin for that if needed.
Or perhaps I’m overlooking the need for that setting? I have a web form to create the new user which adds the ‘wp-approve-user’ and ‘wp-approve-user-new-registration’ user_meta, so calling user_register() is not needed. I’m handling the notification email already, so register_new_user() doesn’t need to setup the call to wp_new_user_notification(). I might be missing something, but I think it will work if I can just bypass loading noop.php.
Thanks,
Jesse
- The topic ‘rfe: not require users_can_register’ is closed to new replies.