外掛標籤
開發者團隊
原文外掛簡介
4WP Account is a user account hub for WordPress: social sign-in (OAuth 2.0), a front-end account page, header account menu block, and optional WooCommerce login buttons.
Active in this release: Google and GitHub login when enabled in 4WP Account → Auth. Facebook and TikTok appear in settings as coming soon — they are not available for login yet.
A plugin by 4wp.dev. 4WP is our project brand; the letters “WP” appear only as part of that brand name, not as a reference to WordPress. This plugin is not affiliated with, endorsed by, or sponsored by WordPress.
Source code: github.com/4wpdev/4wp-account
Key features
Google and GitHub OAuth sign-in (enable per provider in wp-admin)
Account page — [forwp_account] shortcode or forwp/account block (sign-in when logged out; cabinet when logged in)
Account menu — forwp/account-menu block or [forwp_account_menu] for header dropdown
Sign-in buttons — [forwp_account_signin_buttons] or forwp/auth-buttons block
REST API — /wp-json/forwp-account/v1/auth/{provider} and OAuth callbacks
WooCommerce — optional social buttons on My Account login/register forms
Subscriber options — hide admin bar, redirect subscribers away from wp-admin
Privacy
OAuth tokens are exchanged server-side. Profile email and name from the provider are stored in WordPress user records. No data is sent to 4wp.dev.
Development
Run tests: composer install && composer run lint && composer run test
External services
This plugin connects to third-party OAuth providers when a visitor starts social login and when an administrator saves API credentials.
Google
When: User clicks Google sign-in; server exchanges the authorization code and reads profile email.
Terms: Google API Terms of Service
Privacy: Google Privacy Policy
GitHub
When: User clicks GitHub sign-in; server exchanges the code and reads the primary verified email.
Terms: GitHub Terms of Service
Privacy: GitHub Privacy Statement
Meta (Facebook) — planned
When: Not enabled in this release. Listed in admin as coming soon.
Terms: Meta Platform Terms
Privacy: Meta Privacy Policy
TikTok — planned
When: Not enabled in this release. Listed in admin as coming soon.
Terms: TikTok Terms of Service
Privacy: TikTok Privacy Policy
