Linux 软件免费装
Banner图

WP to Firebase – Sync WooCommerce & WordPress Data

开发者 imalinawaz
更新时间 2026年11月2日 07:52
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce sync mobile app firebase realtime database

下载

2.0.0 2.0.1

详情介绍:

WP to Firebase keeps a Firebase Realtime Database in step with your WordPress site. Use it to power a mobile app, a dashboard, or any service that reads from Firebase, without writing your own export code. What it syncs You choose which of these to sync. Products are on by default. Users and orders contain personal data, so they stay off until you turn them on. How it works Data structure 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, Cloud Firestore, 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.

安装:

  1. Install and activate the plugin.
  2. In the Firebase console, create a Realtime Database and copy its URL.
  3. In the Firebase console, open Project settings → Service accounts and click Generate new private key. A JSON file downloads.
  4. In WordPress, go to Settings → WP to Firebase. Paste the database URL and the full contents of the JSON file, choose what to sync, and save.
  5. Click Test connection, then Sync now.

升级注意事项:

2.0.1 The plugin is now called WP to Firebase. No action needed; your settings are kept. 2.0.0 Complete rebuild with background syncing, live updates, and secure service account authentication. Add a service account key in Settings → WP to Firebase after updating.

常见问题:

Is it safe to store the service account key in WordPress?

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.

Does the plugin send passwords?

No. Passwords, password reset keys, and other credentials are never sent. User records contain only email, names, roles, and registration date.

Why did the full sync not finish straight away?

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.

Does deleting an item in WordPress remove it from Firebase?

Yes, when live updates are on. Trashing or deleting a product, order, or user removes its record from Firebase a few seconds later.

Why are keys prefixed with product_, order_, and user_?

Firebase 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. Each record also includes its WordPress ID in the id field.

Does it work without WooCommerce?

Yes, for users. Product and order syncing requires WooCommerce.

Can you customize the plugin for my project?

Yes. Custom fields, other Firebase services and full integrations with your app are available as paid custom work; see Custom development above.

更新日志:

2.0.1 2.0.0 1.0