4WP Drive connects a Google Drive folder workflow to WordPress: writers drop documents in Drive, editors review them in an admin Inbox, and approved content becomes draft posts—without copy-paste.
A plugin by 4wp.dev.
incoming/ folder and a review step before publishincoming/ and published/ subfolders.incoming/ or run Sync.published/ in Drive.incoming/ for new Google Docs and images--- or =====) map to post fields; body becomes post content (headings, lists, bold preserved)wp forwp-drive sync for manual syncOAuth tokens and Google API credentials are stored in your WordPress database (encrypted). Document content is fetched from Google Drive only when an administrator runs sync or import. No visitor-facing tracking.
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, or sponsored by WordPress.
Source code: github.com/4wpdev/4wp-drive
Human-readable PHP source is in the public GitHub repository above. The plugin ZIP includes src/ (PSR-4 autoload via src/Autoload.php when vendor/ is absent). No npm build step — admin scripts ship as plain JS in assets/.
Run tests: composer install && composer test && composer run lint
This plugin connects to Google services when an administrator configures OAuth and syncs or imports documents.
Used to authorize access to the connected Google account’s Drive files.
https://accounts.google.com/o/oauth2/v2/authhttps://oauth2.googleapis.com/tokenhttps://www.googleapis.com/auth/driveWhen an administrator clicks Connect Google Drive, the browser is redirected to Google to sign in and grant access. WordPress stores refresh and access tokens encrypted in the site database. Client ID and Client Secret are stored encrypted (or may be defined in wp-config.php).
Google terms: https://policies.google.com/terms
Google privacy: https://policies.google.com/privacy
Used to list folders, download Google Docs (export as HTML/DOCX), and move files after import.
https://www.googleapis.com/drive/v3/ (and related export endpoints)Requests are made server-side only when an administrator runs sync, preview, or import. Document metadata and file content are processed on your server to create WordPress posts.
Google Drive API terms follow Google Cloud / Google API Services terms linked from the Google Cloud Console.