| 开发者 | imalinawaz |
|---|---|
| 更新时间 | 2026年11月15日 05:41 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
products, orders, or users collection. Items that have not changed since the last sync are skipped, so scheduled syncs stay inside Firestore's free daily write quota.
What it syncs
products/product_42
orders/order_1057
users/user_7
Numbers, true/false values, lists, and nested details such as billing addresses and line items are stored with their proper Firestore types, so you can query and sort them.
In the Realtime Database, records are written under the path you choose (default wordpress), with keys prefixed by type:
wordpress/products/product_42
wordpress/orders/order_1057
wordpress/users/user_7
Custom development
Need extra fields, posts and custom post types, push notifications, a different data structure, or a mobile app built on this data? The plugin is built and maintained by Ali Nawaz, a WordPress & Shopify developer who builds custom WordPress plugins.
For a new app, Cloud Firestore. Firebase recommends it for new projects, it has richer queries, and FlutterFlow works with it. Choose the Realtime Database if your app already reads from one. You can switch at any time; the next full sync writes everything to the new database.
Firestore's free tier allows 20,000 document writes a day. The plugin skips items that have not changed since they were last written, so after the first sync, a scheduled full sync only writes what changed. Live updates write one document per change. A daily schedule is enough for most stores, with live updates on.
Yes. Enter the database ID under Firestore database ID (leave (default) for the default database), and an optional collection prefix such as wp_ to write to wp_products, wp_orders, and wp_users.
The key is stored in your WordPress database, like other plugin credentials, and is never displayed after saving. Anyone with access to your database could read it, so keep your site and database secure. You can remove the key at any time from the settings page, and you can revoke it in the Google Cloud console.
No. Passwords, password reset keys, and other credentials are never sent. User records contain only email, names, roles, and registration date.
The sync runs through WP-Cron, which runs when your site receives visits. On a quiet site, or a site with WP-Cron disabled, it continues as soon as cron runs. For large stores, configure a real server cron job for WP-Cron.
Yes, when live updates are on. Trashing or deleting a product, order, or user removes its record from Firebase a few seconds later.
The Realtime Database treats objects with sequential numeric keys as arrays, which makes data harder to read and update. The prefix keeps every record addressable by its key, and the same document IDs are used in Cloud Firestore. Each record also includes its WordPress ID in the id field.
Yes, for users. Product and order syncing requires WooCommerce.
Yes. Custom fields, other Firebase services and full integrations with your app are available as paid custom work; see Custom development above.
The plugin is ready for translation, and translations are made by volunteers on WordPress.org. You can help translate it into your language at translate.wordpress.org. Once a language is 90% translated, WordPress installs the translation automatically through language packs. A translation template, languages/wpw-to-firebase.pot, is included for tools such as Poedit and Loco Translate.
wpwtf_firestore_api_base filter, for the Firestore emulator in development.