subscribers_only: true, no message shown when not logged in
-
Hello, I red here:
Subscribers-only mode#Subscribers-only mode
subscribers_only: true
You may want to ensure that only logged-in users can submit your contact form. In such cases, use the subscribers-only mode. In this mode, non-logged-in users can’t submit the contact form and will see a message informing them that login is required, while logged-in users can use it as usual.
No anti-spam verification will be provided for contact forms in the subscribers-only mode since only welcome people are supposed to be able to use them. If this assumption is not applicable to your site, subscribers-only mode probably isn’t a good option for you.
I logged in and then I artificially disconnected myself by altering the wp-config AUTH_KEY, LOGGEDIN_SALT, etc. Finally, I tried to send the form and I don’t see any message informing me that login is required. I only see a little circle and I can’t send any form.
Why should I want to do the following? Many mobile users send a form and then they remain on that page and the phone stores the page with the form, even when the user is not logged in anymore. So, my idea was to have the subscribers_only set to true to inform the user, but I see no message.
- The topic ‘subscribers_only: true, no message shown when not logged in’ is closed to new replies.