WPRentals supports social login for users who want to register or log in with third-party accounts instead of using the standard username and password form.
Social login can be enabled for Facebook, Google, and Twitter/X, depending on the API setup completed for each provider.
Supported Social Logins
WPRentals supports the following social login options:
- Facebook Login
- Google Login
- Twitter/X Login
Help article about Facebook Login
Help article about Google Login
Help article about Twitter Login
How Social Login Works
When a user logs in with a social account, the login is handled through the selected third-party provider, such as Facebook, Google, or Twitter/X.
The user must approve the login request through that provider. After the provider confirms the user identity, WPRentals creates or logs in the matching WordPress user account on your website.
The user stays connected to your website, but the authentication step is handled by the third-party API.
Choose the User Role for Social Login Users
Before users register with social login, the site admin must choose what role new social login users will receive.
This is managed from the social login settings in Theme Options.
This setting is important because social login does not show the standard registration options:
- I only want to book
- I want to book and rent
Instead, the role selected in Theme Options is applied when the new user account is created through social login.
If the selected social login role gives owner access, users created through social login can receive dashboard access for listing submission.
If the selected role gives renter access, users created through social login will have booking-related access only.
Social Login Settings in Theme Options
Social login options are managed from Theme Options.
Go to:
Theme Options > Social & Contact > Social Login
Display Social Login on the Register Modal Window
This option controls whether social login buttons show in the register/login modal window.
Allow Login via Facebook
Enable this option if you want users to log in with Facebook.
Allow Login via Google
Enable this option if you want users to log in with Google.
Allow Login via Twitter/X
Enable this option if you want users to log in with Twitter/X.
WordPress Site Health Warnings Caused by Social Login
If Social Login is enabled, WordPress Site Health may show critical warnings such as:
- An active PHP session was detected
- The REST API encountered an error
This can happen because the Social Login feature needs to keep an active connection/session with the social login API in order to work correctly.
WordPress Site Health can detect this active PHP session and show it as a warning.
This does not always mean the website is broken. It can be connected to how the social login API flow works.
How to remove these Site Health warnings
If you do not use Social Login, disable it from:
Theme Options > Social & Contact > Social Login
Then disable the social login options you do not need.
After disabling Social Login:
- Save Theme Options.
- Clear theme cache.
- Clear cache plugin cache, if used.
- Clear server/CDN cache, if used.
- Check Tools > Site Health again.
When to keep Social Login enabled
Keep Social Login enabled only if your website actively uses Facebook, Google, or Twitter/X login.
If Social Login is required for your website, the Site Health active PHP session message may still appear because the feature depends on the social login session/API process.
If the REST API warning remains after disabling Social Login
If Social Login is disabled and the REST API warning still appears, the issue may be caused by something else, such as:
- A cache plugin.
- A security plugin.
- Server firewall rules.
- Blocked REST API requests.
- Optimization settings affecting logged-in requests.
- Another plugin starting a PHP session.
In that case, check the full Site Health error details and ask hosting to confirm that REST API requests are not blocked.
When Social Login Is Not Available
Social login is not available in all login/register situations.
1. Social login is not available in the submit listing flow for non-logged-in users
When a non-logged-in visitor starts the listing submission form, the listing details entered before login must be connected to the final user account.
Because of this flow, social login is not used in this step. The user must log in or register with the standard WPRentals login/register process to continue the listing submission.
2. Social login is not available when login is required to send a booking request
When a user is asked to log in or register in order to send a booking request, social login is not used in that modal.
This is because the booking flow must return the user to the same listing and continue the booking request after login. The social API flow does not support this action in the same way inside that booking request step.
Important Notes
- Social login must be configured separately for each provider.
- Each provider requires its own API setup.
- The social login role is selected in Theme Options before new social login users are created.
- Social login does not show the standard renter/owner checkbox selection.
- If the selected role gives owner access, social login users can receive listing submission access.
- If you want social login users to have booking-only access, select the renter/booking role for social login users.
- Social login can trigger WordPress Site Health warnings such as An active PHP session was detected.
- If you do not use Social Login, disable it from Theme Options > Social & Contact > Social Login.
- After disabling Social Login, clear cache and check WordPress Site Health again.
- Social login is not available in the non-logged-in listing submission flow.
- Social login is not available when the user is prompted to log in before sending a booking request.
Related Help
Help article about Facebook Login
Help article about Google Login
Help article about Twitter Login
How to allow only certain users to submit listings in front end
Summary
- WPRentals supports Facebook, Google, and Twitter/X login.
- Each social login provider must be configured with its own API settings.
- Social login users do not choose renter or owner access from the normal register form.
- The role for new social login users is selected from Theme Options before the account is created.
- Social login can trigger WordPress Site Health warnings related to active PHP sessions.
- If you do not use Social Login, disable it from Theme Options > Social & Contact > Social Login.
- Social login is not available in the non-logged-in listing submission flow.
- Social login is not available when login is required before sending a booking request.

