User Account Hub
4WP Account
Social sign-in with Google and GitHub, a front-end account cabinet, and a header dropdown menu — built for courses, orders, and saved items.
What it does
OAuth sign-in, front-end account pages, and header blocks — without a heavy membership plugin
Social Sign-In
Google and GitHub OAuth 2.0 — enable per provider in wp-admin. Server-side token exchange; subscriber accounts created from provider email on first login.
Account Cabinet
Use your Google account to access courses, orders, and saved items. or the Account block — sign-in form for guests; left-menu cabinet for logged-in users (Dashboard, Favorites, Notifications, custom sections).Sign in to your account
Header Menu Block
Account Menu block — user icon dropdown in the site header with account sections, custom links, and log out. Powers the 4wp.dev header experience.
Gutenberg blocks
Four blocks and matching shortcodes — compose sign-in, account pages, and header navigation
- 4WP Account (
forwp/account) — sign-in for guests or account cabinet with left menu - 4WP Account Menu (
forwp/account-menu) — header dropdown with sections and log out - 4WP Sign-in Buttons (
forwp/auth-buttons) — standalone Google/GitHub buttons - 4WP Account Link (
forwp/account-link) — header link with user icon for guests or account page
How to set up
- Activate 4WP Account and open 4WP Account → Auth.
- Enable Google and/or GitHub — paste OAuth credentials and copy Redirect URIs into provider settings.
- Create an account page with the Account block or
.Sign in to your account
Use your Google account to access courses, orders, and saved items.
- Add the Account Menu block to your header template.
- Optional: enable social buttons on WooCommerce My Account login/register forms.
FAQ
Common questions about 4WP Account v1.0.4
Which sign-in providers work today?
Google and GitHub when enabled and configured in 4WP Account → Auth. Facebook and TikTok appear as coming soon in admin — they cannot be used for login yet.
Does the plugin create WordPress users?
Yes. On first social login, a subscriber account is created from the provider email. Returning users are matched by email and logged in with WordPress auth cookies after OAuth state verification.
Where is the OAuth callback URL?
In 4WP Account → Auth — use the Redirect URI shown for each provider. Built with rest_url(), compatible with custom REST prefixes.
Does it work with WooCommerce?
Yes — optional social sign-in buttons on WooCommerce My Account login and register forms when enabled in plugin settings.
Summary
4WP Account is the membership layer for WordPress — OAuth sign-in, front-end cabinet, and header blocks without vendor lock-in.
Use your Google account to access courses, orders, and saved items — exactly how 4wp.dev runs member features today. OAuth tokens are exchanged server-side; profile data stays in your WordPress database. No data is sent to 4wp.dev.
Version 1.0.4 · WordPress 6.4+ · PHP 8.0+ · GPL v2+
Ready to get started?
Install from WordPress.org or browse the source on GitHub.